diff --git a/Formula/hivemind.rb b/Formula/hivemind.rb index 3cf6c9df5d564..186756e2d82a7 100644 --- a/Formula/hivemind.rb +++ b/Formula/hivemind.rb @@ -18,6 +18,7 @@ class Hivemind < Formula def install ENV["GOPATH"] = buildpath + ENV["GO111MODULE"] = "auto" (buildpath/"src/github.com/DarthSim/hivemind/").install Dir["*"] system "go", "build", "-o", "#{bin}/hivemind", "-v", "github.com/DarthSim/hivemind/" end diff --git a/Formula/ironcli.rb b/Formula/ironcli.rb index 1a8d6b1a7dc5f..6a8f618a65b01 100644 --- a/Formula/ironcli.rb +++ b/Formula/ironcli.rb @@ -18,6 +18,7 @@ class Ironcli < Formula def install ENV["GOPATH"] = buildpath + ENV["GO111MODULE"] = "auto" (buildpath/"src/github.com/iron-io/ironcli").install buildpath.children cd "src/github.com/iron-io/ironcli" do system "dep", "ensure", "-vendor-only" diff --git a/Formula/jp.rb b/Formula/jp.rb index 9a29e75dacdf3..1daefe5c9b5fa 100644 --- a/Formula/jp.rb +++ b/Formula/jp.rb @@ -17,6 +17,7 @@ class Jp < Formula def install ENV["GOPATH"] = buildpath + ENV["GO111MODULE"] = "auto" build_root = buildpath/"src/github.com/sgreben/jp" build_root.install Dir["*"] cd build_root do diff --git a/Formula/mailhog.rb b/Formula/mailhog.rb index ef40d42f9f791..65e2ecc3895a5 100644 --- a/Formula/mailhog.rb +++ b/Formula/mailhog.rb @@ -122,6 +122,7 @@ class Mailhog < Formula def install ENV["GOPATH"] = buildpath ENV["GOBIN"] = bin + ENV["GO111MODULE"] = "auto" path = buildpath/"src/github.com/mailhog/MailHog" path.install buildpath.children