Parcourir la source

去除datacenter

songxiaohang il y a 1 an
Parent
commit
bb9f8b506e
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 1 5
      deploy/test.sh

+ 1 - 5
deploy/test.sh

@@ -11,11 +11,7 @@ build () {
 
     echo "build for ${1}"
     rm -f ${1}
-    if [ "${1}" == "datacenter" ]; then
-        GOOS=linux GOARCH=amd64 go build -o ${1} app/cmd/api/${1}.go
-    else
-        GOOS=linux GOARCH=amd64 go build -o ${1} app/cmd/${1}/${1}.go
-    fi
+    GOOS=linux GOARCH=amd64 go build -o ${1} app/cmd/${1}/${1}.go
     # shellcheck disable=SC2181
     if [ "$?" != "0" ]; then
         exit $?