update: update Makefile.
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user