1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00

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

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"