上传编译工具处理
This commit is contained in:
parent
fc3420bfb8
commit
aaa39e13ea
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,6 +15,7 @@ bin/conf
|
||||
.vscode/
|
||||
./bin/conf
|
||||
./bin/log
|
||||
./bin/mainte
|
||||
./bin/gateway
|
||||
./bin/worker
|
||||
~$*.xlsx
|
||||
|
BIN
bin/dbservice
BIN
bin/dbservice
Binary file not shown.
BIN
bin/gateway
BIN
bin/gateway
Binary file not shown.
BIN
bin/worker
BIN
bin/worker
Binary file not shown.
@ -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
7
linux_build.bat
Normal 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
|
@ -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
|
@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
pb2go.exe
|
||||
pause
|
Loading…
Reference in New Issue
Block a user