Distribute with Homebrew
Closed this issue · 1 comments
ysim commented
See:
- http://octavore.com/posts/2016/02/15/distributing-go-apps-os-x
- https://github.com/Homebrew/brew/blob/master/docs/brew-tap.md
- https://github.com/Homebrew/homebrew-core/blob/master/Formula/pass.rb
- http://brewformulas.org/Pass
- http://www.rubydoc.info/github/Homebrew/brew/master/Formula
- https://gist.github.com/JosephKu/1702715
- http://docs.brew.sh/Formula-Cookbook.html
ysim commented
$ brew install ysim/cook/cook
Updating Homebrew...
...
==> Tapping ysim/cook
Cloning into '/usr/local/Homebrew/Library/Taps/ysim/homebrew-cook'...
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
Tapped 1 formula (26 files, 20.6KB)
==> Installing cook from ysim/cook
==> Downloading https://github.com/ysim/cook/releases/download/v0.1.0/cook-v0.1.0.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/92776710/5fd0e6c4-569e-11e7-8365-f8eae5b26814?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F
######################################################################## 100.0%
==> Downloading https://github.com/ysim/cook/archive/v0.1.0.tar.gz
==> Downloading from https://codeload.github.com/ysim/cook/tar.gz/v0.1.0
######################################################################## 100.0%
==> make bash_completion_dir=/usr/local/Cellar/cook/0.1.0/etc/bash_completion.d install-bash-completion
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/cook/0.1.0: 4 files, 3.3MB, built in 12 seconds
ysim:~$ ls -al /usr/local/etc/bash_completion.d/
total 64
drwxr-xr-x 10 ysim admin 340 21 Jun 16:39 .
drwxr-xr-x 24 ysim admin 816 10 Jun 19:47 ..
lrwxr-xr-x 1 ysim admin 50 21 Jun 16:39 cook -> ../../Cellar/cook/0.1.0/etc/bash_completion.d/cook