mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Add ARM to makefile
Former-commit-id: a4ad6c9c132f48b5f679f973a0c80db923765156 [formerly 0635361632881f2e831e3ecea20134df27838d9e] [formerly 2d91ad2c4766984722e88d20275d0105218b1145 [formerly 2a2570835d
]]
Former-commit-id: d5459ec2b879c7b5ea69361643fdc6e1a5857114 [formerly 63abe22d8706168f9a7f035f53585d7d58b654f3]
Former-commit-id: 2326e71c3063d2bbee54839dadd8c57484a90835
This commit is contained in:
parent
88bfd0a1f7
commit
cf04407182
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user