update: update Makefile.
This commit is contained in:
parent
1de9c1fa5c
commit
1d194e6e0d
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ PROJECT:=ferry
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
CGO_ENABLED=0 go build -o ferry main.go
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ferry main.go && upx -9 ferry
|
||||||
build-sqlite:
|
build-sqlite:
|
||||||
go build -tags sqlite3 -o ferry main.go
|
go build -tags sqlite3 -o ferry main.go
|
||||||
#.PHONY: test
|
#.PHONY: test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user