Skip to content

Commit

Permalink
Enhanced the makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
petaki committed Mar 9, 2023
1 parent 8b5fc1d commit 7489507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ darwin_arm64:
rm -f dist/homettp

linux:
GOOS=linux GOARCH=amd64 go build -o dist/homettp .
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o dist/homettp .
cd dist && zip homettp_$(VERSION)_linux_amd64.zip .env homettp
rm -f dist/homettp

docker_linux:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o dist/amd64/homettp .

linux_arm64:
GOOS=linux GOARCH=arm64 go build -o dist/homettp .
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o dist/homettp .
cd dist && zip homettp_$(VERSION)_linux_arm64.zip .env homettp
rm -f dist/homettp

Expand Down

0 comments on commit 7489507

Please sign in to comment.