cfssl: rename mkbundle

Closes #815.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2016-05-03 18:43:15 +01:00
parent d6bc5f570f
commit c3c342ba55

View file

@ -24,10 +24,16 @@ class Cfssl < Formula
cd "src/github.com/cloudflare/cfssl" do
system "go", "build", "-o", "#{bin}/cfssl", "cmd/cfssl/cfssl.go"
system "go", "build", "-o", "#{bin}/cfssljson", "cmd/cfssljson/cfssljson.go"
system "go", "build", "-o", "#{bin}/mkbundle", "cmd/mkbundle/mkbundle.go"
system "go", "build", "-o", "#{bin}/cfsslmkbundle", "cmd/mkbundle/mkbundle.go"
end
end
def caveats; <<-EOS.undent
`mkbundle` has been installed as `cfsslmkbundle` to avoid conflict
with Mono and other tools that ship the same executable.
EOS
end
test do
require "utils/json"
(testpath/"request.json").write <<-EOS.undent