kyma-cli: remove gopath

Closes #48044.

Signed-off-by: Jonathan Chang <jchang641@gmail.com>
This commit is contained in:
Caleb Xu 2019-12-18 23:39:31 -05:00 committed by Jonathan Chang
parent ca73deb28f
commit 390608d759

View file

@ -16,14 +16,8 @@ class KymaCli < Formula
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
bin_path = buildpath/"src/github.com/kyma-project/cli/"
bin_path.install Dir["*"]
cd bin_path do
system "make", "build-darwin"
bin.install "bin/kyma-darwin" => "kyma"
end
system "make", "build-darwin"
bin.install "bin/kyma-darwin" => "kyma"
end
test do