blackbox 1.20160122
Closes Homebrew/homebrew#48850. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
1f49ae4e68
commit
62cc3da99d
1 changed files with 18 additions and 0 deletions
18
Formula/blackbox.rb
Normal file
18
Formula/blackbox.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
class Blackbox < Formula
|
||||
desc "Safely store secrets in Git/Mercurial/Subversion"
|
||||
homepage "https://github.com/StackExchange/blackbox"
|
||||
url "https://github.com/StackExchange/blackbox/archive/v1.20160122.tar.gz"
|
||||
sha256 "ac5de1d74fdbe88604b34949f3949e53cb72e55e148e46b8c2be98806c888a10"
|
||||
|
||||
depends_on :gpg
|
||||
|
||||
def install
|
||||
libexec.install Dir["bin/*"]
|
||||
bin.write_exec_script Dir[libexec/"*"].select { |f| File.executable? f }
|
||||
end
|
||||
|
||||
test do
|
||||
system "git", "init"
|
||||
system "#{bin}/blackbox_initialize", "yes"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue