From 785fd208a0e5e658dba37371588d51cd1d6c7e0b Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 28 Feb 2022 12:10:46 +0800 Subject: [PATCH] Update pick.sh --- scripts/pick.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pick.sh b/scripts/pick.sh index 2ac753ae..65ef6f6a 100755 --- a/scripts/pick.sh +++ b/scripts/pick.sh @@ -43,8 +43,8 @@ build_app(){ echo "cd $rootPath && go build imail.go" # export CGO_ENABLED=1 GOOS=linux GOARCH=amd64 - # export CGO_ENABLED=1 GOOS=$1 GOARCH=$2 - # export CGO_LDFLAGS="-static" + export CGO_ENABLED=1 GOOS=$1 GOARCH=$2 + export CGO_LDFLAGS="-static" cd $rootPath && go generate internal/assets/conf/conf.go cd $rootPath && go generate internal/assets/templates/templates.go