You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
571 B
29 lines
571 B
#!/usr/bin/env bash
|
|
echo "编译中"
|
|
#go-bindata -o=./app/lib/asset/asset.go -pkg=asset config/app.ini config/app.prod.ini config/app.test.ini
|
|
|
|
# shellcheck disable=SC2006
|
|
DIR=`dirname "$0"`
|
|
# shellcheck disable=SC2164
|
|
# shellcheck disable=SC2086
|
|
cd $DIR
|
|
|
|
if [[ -f "./bin/recook" ]];then
|
|
echo "删除原来执行文件..."
|
|
rm ./bin/recook
|
|
fi
|
|
|
|
GOPROXY=https://goproxy.cn GOSUMDB=off GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/recook_live
|
|
echo "🎄🎄🎄🎄🎄🎄🎄🎄编译完成🎄🎄🎄🎄🎄🎄🎄🎄🎄"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|