From 17994352b191f0f8f5d67b0f9ef2491824b7cd49 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Wed, 2 Sep 2020 20:06:02 +0100 Subject: [PATCH] Disable cgo and add compress step to makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5167ced..f7d018b 100644 --- a/Makefile +++ b/Makefile @@ -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"