kyma-cli: remove gopath
Closes #48044. Signed-off-by: Jonathan Chang <jchang641@gmail.com>
This commit is contained in:
parent
ca73deb28f
commit
390608d759
1 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue