1
0
Fork 0

Compress linux binary

This commit is contained in:
Gregory Eremin 2017-11-08 00:18:19 +01:00
parent 7be787a914
commit 8c52b417a9
1 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ build_docker:
cd backend && docker build . -t cmdui:build
cd backend && docker run -i -v ${PWD}/backend/build:/build cmdui:build \
go build -tags=binassets -o /build/cmdui_linux main.go
gzip -kf backend/build/cmdui_linux
@echo Build complete!
@echo Binary is located at backend/build/cmdui_linux
@echo Binary: backend/build/cmdui_linux
@echo GZIP: backend/build/cmdui_linux.gz
assets:
cd frontend && npm run build