Disable cgo and add compress step to makefile

This commit is contained in:
Harvey Tindall 2020-09-02 20:06:02 +01:00
parent 93180302ae
commit 17994352b1
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,10 @@ compile:
go mod download
echo "Building"
mkdir -p build
go build -o build/jfa-go *.go
CGO_ENABLED=0 go build -o build/jfa-go *.go
compress:
upx --lzma build/jfa-go
copy:
echo "Copying data"