mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-21 12:57:40 +00:00
Attempt to fix build.
This commit is contained in:
@@ -2,8 +2,10 @@ GOVERSION=$(shell go version | awk '{print $$3;}')
|
|||||||
|
|
||||||
ifeq ($(TRAVIS), true)
|
ifeq ($(TRAVIS), true)
|
||||||
GOVERALLS?=$(HOME)/gopath/bin/goveralls
|
GOVERALLS?=$(HOME)/gopath/bin/goveralls
|
||||||
|
SRCPATH?=$(HOME)/gopath/src
|
||||||
else
|
else
|
||||||
GOVERALLS?=goveralls
|
GOVERALLS?=goveralls
|
||||||
|
SRCPATH?=$(GOPATH)/src
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(GOVERSION), go1.2)
|
ifeq ($(GOVERSION), go1.2)
|
||||||
@@ -17,9 +19,10 @@ endif
|
|||||||
all: test check
|
all: test check
|
||||||
|
|
||||||
prepare: $(PREPARE_LIST)
|
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)
|
# 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:
|
cover-prepare:
|
||||||
go get github.com/golang/lint/golint
|
go get github.com/golang/lint/golint
|
||||||
|
|||||||
Reference in New Issue
Block a user