1 Star 0 Fork 0

simplexyz / simpleactor-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
make.bat 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
李文建 提交于 2023-10-12 19:59 . Id改ID
@setlocal enabledelayedexpansion
@setlocal enableextensions
::@set PACKAGE_PATH=gitee.com\simplexyz\simpleactor-go
@set WORK_DIR=%~dp0
::@set GOPATH=%WORK_DIR%
::@set GOPROXY=https://goproxy.cn
@IF "%1" == "" call :all & cd %WORK_DIR% & goto :exit
@IF "%1" == "all" call :all & cd %WORK_DIR% & goto :exit
@IF "%1" == "clean-log" call :clean-log & cd %WORK_DIR% & goto :exit
@IF "%1" == "mod-tidy" call :mod-tidy & cd %WORK_DIR% & goto :EXIT
@IF "%1" == "update-proto" call :update-proto & cd %WORK_DIR% & goto :exit
@echo unsupported operate [%1]
@goto :exit
:all
@echo make all begin
@echo make all end
@goto :exit
:clean-log
del /f /s /q /a *.log
@goto exit
:mod-tidy
@echo [mod-tidy] begin
@echo off
@for /R %WORK_DIR% %%f in (*.mod) do (
@set "GO_MOD_FILE_DIR=%%~dpf"
@cd !GO_MOD_FILE_DIR!
echo go mod tidy in [!GO_MOD_FILE_DIR!]
go mod tidy
)
@echo on
@echo [mod-tidy] end
@goto :EXIT
:update-proto
@echo [update-proto] begin
go get -u github.com/gogo/protobuf/proto
go get -u github.com/gogo/protobuf/protoc-gen-gogo
go get -u github.com/gogo/protobuf/gogoproto
go get -u github.com/gogo/protobuf/protoc-gen-gofast
go get -u google.golang.org/grpc
go get -u github.com/gogo/protobuf/protoc-gen-gogofast
go get -u github.com/gogo/protobuf/protoc-gen-gogofaster
go get -u github.com/gogo/protobuf/protoc-gen-gogoslick
@echo [update-proto] end
@goto :exit
:exit
Go
1
https://gitee.com/simplexyz/simpleactor-go.git
git@gitee.com:simplexyz/simpleactor-go.git
simplexyz
simpleactor-go
simpleactor-go
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891