mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Remove upx for now
This commit is contained in:
parent
76b054122a
commit
9d87359c62
8
Makefile
8
Makefile
@ -12,22 +12,22 @@ build:
|
|||||||
.PHONY: linuxarm
|
.PHONY: linuxarm
|
||||||
linuxarm:
|
linuxarm:
|
||||||
env GOOS=linux GOARCH=arm go build ${LDFLAGS} -o dist/cowyo_linux_arm
|
env GOOS=linux GOARCH=arm go build ${LDFLAGS} -o dist/cowyo_linux_arm
|
||||||
cd dist && upx --brute cowyo_linux_arm
|
#cd dist && upx --brute cowyo_linux_arm
|
||||||
|
|
||||||
.PHONY: linux64
|
.PHONY: linux64
|
||||||
linux64:
|
linux64:
|
||||||
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
|
||||||
|
|
||||||
.PHONY: windows
|
.PHONY: windows
|
||||||
windows:
|
windows:
|
||||||
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
|
||||||
cd dist && upx --brute cowyo_windows_amd64.exe
|
#cd dist && upx --brute cowyo_windows_amd64.exe
|
||||||
|
|
||||||
.PHONY: osx
|
.PHONY: osx
|
||||||
osx:
|
osx:
|
||||||
env GOOS=darwin GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_osx_amd64
|
env GOOS=darwin GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_osx_amd64
|
||||||
cd dist && upx --brute cowyo_osx_amd64
|
#cd dist && upx --brute cowyo_osx_amd64
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: osx windows linux64 linuxarm
|
release: osx windows linux64 linuxarm
|
||||||
|
Loading…
Reference in New Issue
Block a user