diff --git a/cointop.rb b/cointop.rb index 7206fc0..e723f6e 100644 --- a/cointop.rb +++ b/cointop.rb @@ -8,7 +8,8 @@ class Cointop < Formula def install ENV["GOPATH"] = buildpath - (buildpath/"src/github.com/miguelmota/cointop").install buildpath.children + # (buildpath/"src/github.com/miguelmota/cointop").install buildpath.children + system "go", "get", "-u", "github.com/miguelmota/cointop" cd "src/github.com/miguelmota/cointop" do system "go", "build", "-o", "#{bin}/cointop" prefix.install_metafiles