-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anders Eknert <anders@eknert.com>
- Loading branch information
1 parent
362a2e5
commit b86e155
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
prepare-release: | ||
mkdir -p _release/darwin/amd64 _release/darwin/arm64 _release/linux/amd64 _release/windows/amd64 | ||
mkdir -p _release | ||
|
||
clean: | ||
rm -rf _release | ||
|
||
build-darwin-amd64: prepare-release | ||
GOOS=darwin GOARCH=amd64 go build -o _release/darwin/amd64/kube-review | ||
GOOS=darwin GOARCH=amd64 go build -o _release/kube-review-darwin-amd64 | ||
|
||
build-darwin-arm64: prepare-release | ||
GOOS=darwin GOARCH=arm64 go build -o _release/darwin/arm64/kube-review | ||
GOOS=darwin GOARCH=arm64 go build -o _release/kube-review-darwin-arm64 | ||
|
||
build-linux-amd64: prepare-release | ||
GOOS=linux GOARCH=amd64 go build -o _release/linux/amd64/kube-review | ||
GOOS=linux GOARCH=amd64 go build -o _release/kube-review-linux-amd64 | ||
|
||
build-windows-amd64: prepare-release | ||
GOOS=linux GOARCH=amd64 go build -o _release/windows/amd64/kube-review.exe | ||
GOOS=linux GOARCH=amd64 go build -o _release/kube-review-windows-amd64.exe | ||
|
||
build-all: build-darwin-amd64 build-darwin-arm64 build-linux-amd64 build-windows-amd64 |