otto: depend on gox at build time
Closes #22023. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
3320abdab1
commit
968e9b4d91
1 changed files with 1 additions and 6 deletions
|
@ -20,6 +20,7 @@ class Otto < Formula
|
|||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
depends_on "gox" => :build
|
||||
|
||||
otto_deps = %w[
|
||||
github.com/apparentlymart/go-cidr a3ebdb999b831ecb6ab8a226e31b07b2b9061c47
|
||||
|
@ -46,11 +47,9 @@ class Otto < Formula
|
|||
github.com/kardianos/osext 29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc
|
||||
github.com/mattn/go-isatty 56b76bdf51f7708750eac80fa38b952bb9f32639
|
||||
github.com/mitchellh/cli cb6853d606ea4a12a15ac83cc43503df99fd28fb
|
||||
github.com/mitchellh/iochan 87b45ffd0e9581375c491fef3d32130bb15c5bd7
|
||||
github.com/mitchellh/colorstring 8631ce90f28644f54aeedcb3e389a85174e067d1
|
||||
github.com/mitchellh/copystructure 6fc66267e9da7d155a9d3bd489e00dad02666dc6
|
||||
github.com/mitchellh/go-homedir d682a8f0cf139663a984ff12528da460ca963de9
|
||||
github.com/mitchellh/gox 39862d88e853ecc97f45e91c1cdcb1b312c51eaa
|
||||
github.com/mitchellh/ioprogress 8163955264568045f462ae7e2d6d07b2001fc997
|
||||
github.com/mitchellh/mapstructure 281073eb9eb092240d33ef253c404f1cca550309
|
||||
github.com/mitchellh/panicwrap a1e50bc201f387747a45ffff020f1af2d8759e88
|
||||
|
@ -95,10 +94,6 @@ class Otto < Formula
|
|||
system "go", "install"
|
||||
end
|
||||
|
||||
cd gopath/"src/github.com/mitchellh/gox" do
|
||||
system "go", "install"
|
||||
end
|
||||
|
||||
cd gopath/"src/github.com/hashicorp/otto" do
|
||||
system "make", "dev"
|
||||
bin.install "bin/otto"
|
||||
|
|
Loading…
Reference in a new issue