diff --git a/.gitignore b/.gitignore index 7d55a4ad9..70a37f372 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ bin/conf .vscode/ ./bin/conf ./bin/log +./bin/mainte ./bin/gateway ./bin/worker ~$*.xlsx diff --git a/bin/dbservice b/bin/dbservice deleted file mode 100755 index cc4ee108e..000000000 Binary files a/bin/dbservice and /dev/null differ diff --git a/bin/gateway b/bin/gateway deleted file mode 100755 index 5690b2c4f..000000000 Binary files a/bin/gateway and /dev/null differ diff --git a/bin/worker b/bin/worker deleted file mode 100755 index 1e392f822..000000000 Binary files a/bin/worker and /dev/null differ diff --git a/linux-build.bat b/linux-build.bat deleted file mode 100644 index 3500766cc..000000000 --- a/linux-build.bat +++ /dev/null @@ -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 \ No newline at end of file diff --git a/linux_build.bat b/linux_build.bat new file mode 100644 index 000000000..f7be0bda3 --- /dev/null +++ b/linux_build.bat @@ -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 \ No newline at end of file diff --git a/linux_bulid.sh b/linux_bulid.sh index b5cf64532..bdda85909 100755 --- a/linux_bulid.sh +++ b/linux_bulid.sh @@ -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 \ No newline at end of file diff --git a/probuf转go.cmd b/probuf转go.cmd deleted file mode 100644 index 5848191d7..000000000 --- a/probuf转go.cmd +++ /dev/null @@ -1,3 +0,0 @@ -@echo off -pb2go.exe -pause \ No newline at end of file diff --git a/build.bat b/windows_build.bat similarity index 100% rename from build.bat rename to windows_build.bat