Skip to content

Commit

Permalink
feat: make macos only
Browse files Browse the repository at this point in the history
  • Loading branch information
acrazing committed Sep 28, 2023
1 parent b7dd145 commit df1ab61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ check:
# build ktctl
ktctl:
go mod download
GOARCH=amd64 GOOS=linux go build -ldflags "-s -w -X main.version=${TAG}" -o artifacts/linux/ktctl ./cmd/ktctl
GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w -X main.version=${TAG}" -o artifacts/macos/ktctl ./cmd/ktctl
GOARCH=amd64 GOOS=windows go build -ldflags "-s -w -X main.version=${TAG}" -o artifacts/windows/ktctl.exe ./cmd/ktctl
GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w -X main.version=${TAG}" -o artifacts/ktctl-darwin-x86_64 ./cmd/ktctl
GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w -X main.version=${TAG}" -o artifacts/ktctl-darwin-arm64 ./cmd/ktctl

# minimize binary size
upx:
Expand Down

0 comments on commit df1ab61

Please sign in to comment.