Skip to content

Commit

Permalink
Update pick.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Feb 28, 2022
1 parent bbae81c commit 785fd20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 785fd20

Please sign in to comment.