GoWiki/build/BUILD.bat

5 lines
119 B
Batchfile

cd /d %~dp0
cd ..
go build -ldflags="-s -w" -o gowiki_amd64.exe
..\upx-3.95-win64\upx.exe -9 gowiki_amd64.exe
pause