This is an automated email from the ASF dual-hosted git repository.

rob pushed a commit to branch 2.2.x
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 8bd7ab198afa6f6b8f9f0997b647c3e7cc7d2676
Author: Robert Butts <r...@apache.org>
AuthorDate: Tue Apr 3 10:13:35 2018 -0600

    Add TO build go get for golang x libs
    
    (cherry picked from commit 55e8c39184582d9dce3c5c416cc255ff218a178e)
---
 traffic_ops/build/traffic_ops.spec     | 1 +
 traffic_stats/build/traffic_stats.spec | 1 +
 2 files changed, 2 insertions(+)

diff --git a/traffic_ops/build/traffic_ops.spec 
b/traffic_ops/build/traffic_ops.spec
index ef80939..38ccdfc 100644
--- a/traffic_ops/build/traffic_ops.spec
+++ b/traffic_ops/build/traffic_ops.spec
@@ -104,6 +104,7 @@ Built: %(date) by %{getenv: USER}
       #echo "go getting at $(pwd)" && \
       #go get -d -v && \
       echo "go building at $(pwd)" && \
+      go get -v &&\
       go build -ldflags "-B 0x`git rev-parse HEAD`" \
     ) || { echo "Could not build go program at $(pwd): $!"; exit 1; }
 
diff --git a/traffic_stats/build/traffic_stats.spec 
b/traffic_stats/build/traffic_stats.spec
index a20e032..3bc7e9c 100644
--- a/traffic_stats/build/traffic_stats.spec
+++ b/traffic_stats/build/traffic_stats.spec
@@ -82,6 +82,7 @@ oldpwd=$(pwd)
   cd "$godir" && \
   cp -L -r "$TC_DIR"/traffic_stats/* . && \
   build_dependencies traffic_stats  && \
+  go get -v && \
   go install -v \
 ) || { echo "Could not build go program at $(pwd): $!"; exit 1; }
 

-- 
To stop receiving notification emails like this one, please contact
r...@apache.org.

Reply via email to