Skip to content

Commit

Permalink
chore: makefile build flag
Browse files Browse the repository at this point in the history
  • Loading branch information
koulerz committed Mar 6, 2024
1 parent 90c1075 commit f51a9f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ build:

.PHONY: build_for_linux
build_for_linux:
export CGO_ENABLED=0 && export GOS=linux && ./script/build.sh
export CGO_ENABLED=0 && export GOOS=linux && ./script/build.sh

.PHONY: build_for_linux_amd64
build_for_linux_amd64:
export CGO_ENABLED=0 && export GOS=linux && export GOARCH=amd64 && ./script/build.sh
export CGO_ENABLED=0 && export GOOS=linux && export GOARCH=amd64 && ./script/build.sh

.PHONY: build_for_linux_arm64
build_for_linux_arm64:
export CGO_ENABLED=0 && export GOS=linux && export GOARCH=arm64 && ./script/build.sh
export CGO_ENABLED=0 && export GOOS=linux && export GOARCH=arm64 && ./script/build.sh

.PHONY: test
test:
Expand Down

0 comments on commit f51a9f1

Please sign in to comment.