From 57029b4e01f3b6202ee50ded168853e239f0ea8e Mon Sep 17 00:00:00 2001 From: Carlos Salguero Date: Tue, 21 Feb 2017 14:55:34 -0300 Subject: [PATCH] PT-77 Updated glide call in the Makefile --- src/go/Makefile | 6 ++-- src/go/glide.lock | 75 ----------------------------------------------- 2 files changed, 3 insertions(+), 78 deletions(-) delete mode 100644 src/go/glide.lock diff --git a/src/go/Makefile b/src/go/Makefile index d1edcd2b..a35d111b 100644 --- a/src/go/Makefile +++ b/src/go/Makefile @@ -14,19 +14,19 @@ LDFLAGS="-X main.Version=${VERSION} -X main.Build=${BUILD} -X main.GoVersion=${G linux-amd64: @echo "Building linux/amd64 binaries in ${BIN_DIR}" - @cd ${TOP_DIR} && glide update + @cd ${TOP_DIR} && glide install -v @$(foreach pkg,$(pkgs),rm -f ${BIN_DIR}/$(pkg) 2> /dev/null;) @$(foreach pkg,$(pkgs),GOOS=linux GOARCH=amd64 go build -ldflags ${LDFLAGS} -o ${BIN_DIR}/$(pkg) ./$(pkg);) linux-386: @echo "Building linux/386 binaries in ${BIN_DIR}" - @cd ${TOP_DIR} && glide update + @cd ${TOP_DIR} && glide install -v @$(foreach pkg,$(pkgs),rm -f ${BIN_DIR}/$(pkg) 2> /dev/null;) @$(foreach pkg,$(pkgs),GOOS=linux GOARCH=386 go build -ldflags ${LDFLAGS} -o ${BIN_DIR}/$(pkg) ./$(pkg);) darwin-amd64: @echo "Building darwin/amd64 binaries in ${BIN_DIR}" - @cd ${TOP_DIR} && glide update + @cd ${TOP_DIR} && glide install -v @$(foreach pkg,$(pkgs),rm -f ${BIN_DIR}/$(pkg) 2> /dev/null;) @$(foreach pkg,$(pkgs),GOOS=darwin GOARCH=amd64 go build -ldflags ${LDFLAGS} -o ${BIN_DIR}/$(pkg) ./$(pkg);) diff --git a/src/go/glide.lock b/src/go/glide.lock deleted file mode 100644 index 9040818f..00000000 --- a/src/go/glide.lock +++ /dev/null @@ -1,75 +0,0 @@ -hash: 2ff7c989fb0fde1375999fded74ae44e10be513a21416571f026390b679924e4 -updated: 2017-02-16T13:05:08.118382254-03:00 -imports: -- name: github.com/bradfitz/slice - version: d9036e2120b5ddfa53f3ebccd618c4af275f47da -- name: github.com/go-ole/go-ole - version: de8695c8edbf8236f30d6e1376e20b198a028d42 - subpackages: - - oleutil -- name: github.com/golang/mock - version: bd3c8e81be01eef76d4b503f5e687d2d1354d2d9 - subpackages: - - gomock -- name: github.com/hashicorp/go-version - version: 03c5bf6be031b6dd45afec16b1cf94fc8938bc77 -- name: github.com/howeyc/gopass - version: bf9dde6d0d2c004a008c27aaee91170c786f6db8 -- name: github.com/kr/pretty - version: cfb55aafdaf3ec08f0db22699ab822c50091b1c4 -- name: github.com/kr/text - version: 7cafcd837844e784b526369c9bce262804aebc60 -- name: github.com/montanaflynn/stats - version: eeaced052adbcfeea372c749c281099ed7fdaa38 -- name: github.com/pborman/getopt - version: 7148bc3a4c3008adfcab60cbebfd0576018f330b -- name: github.com/percona/pmgo - version: 27d979df6c6885ff16abe375aead061a86da6df8 - subpackages: - - pmgomock -- name: github.com/pkg/errors - version: 645ef00459ed84a119197bfb8d8205042c6df63d -- name: github.com/satori/go.uuid - version: 879c5887cd475cd7864858769793b2ceb0d44feb -- name: github.com/shirou/gopsutil - version: 70a1b78fe69202d93d6718fc9e3a4d6f81edfd58 - subpackages: - - cpu - - host - - internal/common - - mem - - net - - process -- name: github.com/shirou/w32 - version: bb4de0191aa41b5507caa14b0650cdbddcd9280b -- name: github.com/sirupsen/logrus - version: c078b1e43f58d563c74cebe63c85789e76ddb627 -- name: github.com/StackExchange/wmi - version: e542ed97d15e640bdc14b5c12162d59e8fc67324 -- name: go4.org - version: 7ce08ca145dbe0e66a127c447b80ee7914f3e4f9 - subpackages: - - reflectutil -- name: golang.org/x/crypto - version: 453249f01cfeb54c3d549ddb75ff152ca243f9d8 - subpackages: - - ssh/terminal -- name: golang.org/x/net - version: 61557ac0112b576429a0df080e1c2cef5dfbb642 - subpackages: - - context -- name: golang.org/x/sys - version: e24f485414aeafb646f6fca458b0bf869c0880a1 - subpackages: - - unix -- name: gopkg.in/mgo.v2 - version: 3f83fa5005286a7fe593b055f0d7771a7dce4655 - subpackages: - - bson - - dbtest - - internal/json - - internal/sasl - - internal/scram -- name: gopkg.in/tomb.v2 - version: d5d1b5820637886def9eef33e03a27a9f166942c -testImports: []