From f7c2006d4e257ceba3037e2ccf10eef8b450b8e6 Mon Sep 17 00:00:00 2001 From: terngkub Date: Mon, 10 Jun 2019 15:04:42 +0200 Subject: [PATCH] add trimpath to teamcity build.sh --- scripts/teamcity/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/teamcity/build.sh b/scripts/teamcity/build.sh index 0b165721..dff51796 100644 --- a/scripts/teamcity/build.sh +++ b/scripts/teamcity/build.sh @@ -12,12 +12,12 @@ esac # Build qdb_rest cd $1/apps/qdb_rest -go build -x -v -o qdb_rest$SUFFIX +go build -x -v -gcflags=-trimpath=$HOME/go -o qdb_rest$SUFFIX # Build qdb_rest_service on windows case $(uname) in MINGW* ) cd ../qdb_rest_service - go build -x -v -o qdb_rest_service$SUFFIX + go build -x -v -gcflags=-trimpath=c:\Go -o qdb_rest_service$SUFFIX ;; esac \ No newline at end of file