上传编译工具处理

This commit is contained in:
liwei1dao 2022-07-22 11:08:27 +08:00
parent fc3420bfb8
commit aaa39e13ea
9 changed files with 9 additions and 10 deletions

1
.gitignore vendored
View File

@ -15,6 +15,7 @@ bin/conf
.vscode/
./bin/conf
./bin/log
./bin/mainte
./bin/gateway
./bin/worker
~$*.xlsx

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +0,0 @@
set GOOS=linux
set CGO_ENABLED=0
del bin/gateway,bin/worker
go build -o bin/gateway services/gateway/main.go
go build -o bin/worker services/worker/main.go
REM pause

7
linux_build.bat Normal file
View File

@ -0,0 +1,7 @@
set GOOS=linux
set CGO_ENABLED=0
del bin/mainte,bin/gateway,bin/worker
go build -o ./bin/mainte ./services/mainte/main.go
go build -o ./bin/gateway ./services/gateway/main.go
go build -o ./bin/worker ./services/worker/main.go
REM pause

View File

@ -1,6 +1,6 @@
CGO_ENABLED=0
GO111MODULE=on
GOOS=linux
go build -o ./bin/dbservice ./services/dbservice/main.go
go build -o ./bin/mainte ./services/mainte/main.go
go build -o ./bin/gateway ./services/gateway/main.go
go build -o ./bin/worker ./services/worker/main.go

View File

@ -1,3 +0,0 @@
@echo off
pb2go.exe
pause