A workaround to use fudanchii/raw-request branch without changing the import path.

At least until https://github.com/plouc/go-gitlab-client/pull/8
accepted or Drone officially fork it to `drone/go-gitlab` or
when we have package management which can do something like this:

gom 'github.com/plouc/go-gitlab-client',
  :github => 'fudanchii/go-gitlab-client', :branch => 'raw-request'
This commit is contained in:
Nurahmadie 2014-04-04 01:28:20 +00:00
parent fe75126fe1
commit 5724298c6b

View file

@ -22,7 +22,7 @@ PKGS := $(addprefix github.com/drone/drone/pkg/,$(PKGS))
all: embed build
deps:
deps: go-gitlab-client
[ -d $$GOPATH/src/code.google.com/p/go ] || hg clone -u default https://code.google.com/p/go $$GOPATH/src/code.google.com/p/go
[ -d $$GOPATH/src/github.com/dotcloud/docker ] || git clone git://github.com/dotcloud/docker $$GOPATH/src/github.com/dotcloud/docker
go get code.google.com/p/go.crypto/bcrypt
@ -42,7 +42,6 @@ deps:
#go get github.com/dotcloud/docker/pkg/term
go get github.com/drone/go-github/github
go get github.com/drone/go-bitbucket/bitbucket
go get github.com/plouc/go-gitlab-client
go get github.com/GeertJohan/go.rice
go get github.com/GeertJohan/go.rice/rice
go get github.com/go-sql-driver/mysql
@ -98,3 +97,7 @@ dpkg:
run:
bin/droned --port=":8080" --datasource="drone.sqlite"
go-gitlab-client:
rm -rf $$GOPATH/src/github.com/plouc/go-gitlab-client
git clone -b raw-request https://github.com/fudanchii/go-gitlab-client $$GOPATH/src/github.com/plouc/go-gitlab-client