docker: block same-option dependencies
This commit is contained in:
parent
00d8d9d0b8
commit
e010e91a6b
1 changed files with 5 additions and 2 deletions
|
@ -18,8 +18,11 @@ class Docker < Formula
|
|||
option "without-completions", "Disable bash/zsh completions"
|
||||
|
||||
depends_on "go" => :build
|
||||
depends_on "libtool" => :run if build.with?("experimental")
|
||||
depends_on "yubico-piv-tool" => :recommended if build.with?("experimental")
|
||||
|
||||
if build.with? "experimental"
|
||||
depends_on "libtool" => :run
|
||||
depends_on "yubico-piv-tool" => :recommended
|
||||
end
|
||||
|
||||
def install
|
||||
ENV["AUTO_GOPATH"] = "1"
|
||||
|
|
Loading…
Reference in a new issue