diff --git a/build.sh b/build.sh index 256c93d..9c5462d 100755 --- a/build.sh +++ b/build.sh @@ -10,6 +10,7 @@ ln -s $GITHUB_WORKSPACE $PROJECT_ROOT cd $PROJECT_ROOT go get -v ./... +BUILD_FLAGS='' EXT='' if [ $GOOS == 'windows' ]; then @@ -19,7 +20,7 @@ fi if [ -x "./build.sh" ]; then OUTPUT=`./build.sh "${CMD_PATH}"` else - go build "${CMD_PATH}" + go build ${BUILD_FLAGS} "${CMD_PATH}" OUTPUT="${PROJECT_NAME}${EXT}" fi