mirror of
https://github.com/go-home-admin/toolset.git
synced 2025-12-24 13:37:52 +08:00
add: 说明
This commit is contained in:
5
Makefile
5
Makefile
@@ -10,4 +10,9 @@ build:
|
||||
build-win:
|
||||
go build -ldflags="-w -s" -o $(GOBIN)/toolset.exe ./
|
||||
|
||||
build-all:
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o ./build/toolset-linux ./
|
||||
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o ./build/toolset-win.exe ./
|
||||
go build -ldflags="-w -s" -o ./build/toolset-mac ./
|
||||
|
||||
# toolset make:protoc -go_out=plugins=grpc:@root/generate/proto -debug=true
|
||||
Reference in New Issue
Block a user