build.sh 新增默认创建 out 目录的 功能

This commit is contained in:
Stam He 2022-01-16 21:54:46 +08:00
parent 645ef7f538
commit 2660ded630
No known key found for this signature in database
GPG Key ID: 3861C8C44D25274F

View File

@ -13,6 +13,9 @@ fi
output="out"
build_dir=`dirname $0`
mkdir -p ${build_dir}/${output} > /dev/null 2>&1
default_golang() {
export GOROOT=/usr/local/go
go=$GOROOT/bin/go