فهرست منبع

Fix: prepare_build() was using only the first build tag
when enumerating packages for the DEPENDENCIES value.

Rod Hynes 9 سال پیش
والد
کامیت
795367c9ab
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      ConsoleClient/make.bash

+ 3 - 3
ConsoleClient/make.bash

@@ -59,7 +59,7 @@ fi
 build_for_windows () {
   echo "...Getting project dependencies (via go get) for Windows. Parameter is: '$1'"
   GOOS=windows go get -d -v -tags "$WINDOWS_BUILD_TAGS" ./...
-  prepare_build $WINDOWS_BUILD_TAGS
+  prepare_build "$WINDOWS_BUILD_TAGS"
   if [ $? != 0 ]; then
     echo "....'go get' failed, exiting"
     exit $?
@@ -114,7 +114,7 @@ build_for_windows () {
 build_for_linux () {
   echo "Getting project dependencies (via go get) for Linux. Parameter is: '$1'"
   GOOS=linux go get -d -v -tags "$LINUX_BUILD_TAGS" ./...
-  prepare_build $LINUX_BUILD_TAGS
+  prepare_build "$LINUX_BUILD_TAGS"
   if [ $? != 0 ]; then
     echo "...'go get' failed, exiting"
     exit $?
@@ -165,7 +165,7 @@ build_for_linux () {
 build_for_osx () {
   echo "Getting project dependencies (via go get) for OSX"
   GOOS=darwin go get -d -v -tags "$OSX_BUILD_TAGS" ./...
-  prepare_build $OSX_BUILD_TAGS
+  prepare_build "$OSX_BUILD_TAGS"
   if [ $? != 0 ]; then
     echo "..'go get' failed, exiting"
     exit $?