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
|
depends_on "go" => :build
|
||||||
|
|
||||||
def install
|
def install
|
||||||
ENV["GOPATH"] = buildpath
|
system "make", "build-darwin"
|
||||||
bin_path = buildpath/"src/github.com/kyma-project/cli/"
|
bin.install "bin/kyma-darwin" => "kyma"
|
||||||
bin_path.install Dir["*"]
|
|
||||||
|
|
||||||
cd bin_path do
|
|
||||||
system "make", "build-darwin"
|
|
||||||
bin.install "bin/kyma-darwin" => "kyma"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
Loading…
Reference in a new issue