mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Add ARM to makefile
This commit is contained in:
parent
6440472b2d
commit
2a2570835d
2
Makefile
2
Makefile
@ -10,6 +10,8 @@ build:
|
|||||||
release:
|
release:
|
||||||
rm -rf dist/
|
rm -rf dist/
|
||||||
mkdir 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
|
env GOOS=linux GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_linux_amd64
|
||||||
cd dist && upx --brute cowyo_linux_amd64
|
cd dist && upx --brute cowyo_linux_amd64
|
||||||
env GOOS=windows GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_windows_amd64.exe
|
env GOOS=windows GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_windows_amd64.exe
|
||||||
|
Loading…
Reference in New Issue
Block a user