From e38cb8b39e338100a837c268ac298a9c4e1865a0 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 20 Dec 2013 19:37:42 +0400 Subject: [PATCH] Attempt to fix build. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6532ba7b..9747d6fe 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ GOVERSION=$(shell go version | awk '{print $$3;}') ifeq ($(TRAVIS), true) GOVERALLS?=$(HOME)/gopath/bin/goveralls +SRCPATH?=$(HOME)/gopath/src else GOVERALLS?=goveralls +SRCPATH?=$(GOPATH)/src endif ifeq ($(GOVERSION), go1.2) @@ -17,9 +19,10 @@ endif all: test check prepare: $(PREPARE_LIST) - go get -d -t -v ./... + go get -d -v ./... + go get launchpad.net/gocheck # temporary fix: use commander develop version for now (https://github.com/smira/aptly/pull/1) - cd $(GOPATH)/src/github.com/gonuts/commander && git fetch && git checkout develop + cd $(SRCPATH)/github.com/gonuts/commander && git fetch && git checkout develop cover-prepare: go get github.com/golang/lint/golint