1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Update bindata on Makefile

This commit is contained in:
Zack Scholl 2017-03-23 07:40:47 -06:00
parent 2a2570835d
commit 8f76fbecf4

View File

@ -10,6 +10,7 @@ build:
release: release:
rm -rf dist/ rm -rf dist/
mkdir dist/ mkdir dist/
go-bindata static/... templates/...
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
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