Skip to content

Commit

Permalink
Disable cgo and add compress step to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Sep 2, 2020
1 parent 9318030 commit 1799435
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1799435

Please sign in to comment.