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:
parent
93180302ae
commit
17994352b1
5
Makefile
5
Makefile
@ -36,7 +36,10 @@ compile:
|
|||||||
go mod download
|
go mod download
|
||||||
echo "Building"
|
echo "Building"
|
||||||
mkdir -p build
|
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:
|
copy:
|
||||||
echo "Copying data"
|
echo "Copying data"
|
||||||
|
Loading…
Reference in New Issue
Block a user