소스 검색

去除datacenter

songxiaohang 1 년 전
부모
커밋
bb9f8b506e
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  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 $?