Skip to content

Commit

Permalink
add: 说明
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-home committed Oct 19, 2023
1 parent dba70d6 commit 6bc2c19
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# toolset 一个go项目工具集合

1. 有 go 环境安装
````shell
go install github.com/go-home-admin/toolset
````

2. 直接下载二进制文件, 放到任意 path 包含的路径下


![image](https://github.com/go-home-admin/toolset/blob/main/show.gif)


Expand Down

0 comments on commit 6bc2c19

Please sign in to comment.