优化RPC连接

This commit is contained in:
GoEdgeLab
2020-11-13 18:22:56 +08:00
parent d2b88abb8f
commit 332632ab9f
2 changed files with 9 additions and 0 deletions

View File

@@ -43,6 +43,10 @@ function build() {
echo "building ..."
env GOOS=${OS} GOARCH=${ARCH} go build -o $DIST/bin/${NAME} -ldflags="-s -w" $ROOT/../cmd/edge-node/main.go
# delete hidden files
find $DIST -name ".DS_Store" -delete
find $DIST -name ".gitignore" -delete
echo "zip files"
cd "${DIST}/../" || exit
if [ -f "${ZIP}" ]; then