diff --git a/Makefile b/Makefile index 3ffda80..0f4fa43 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ build: release: rm -rf dist/ mkdir dist/ + env GOOS=linux GOARCH=arm go build ${LDFLAGS} -o dist/cowyo_linux_arm + cd dist && upx --brute cowyo_linux_arm env GOOS=linux GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_linux_amd64 cd dist && upx --brute cowyo_linux_amd64 env GOOS=windows GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_windows_amd64.exe