Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
migrate to dep (#89)
Browse files Browse the repository at this point in the history
* migrate to dep

* change dep get path

* change gimme version value
  • Loading branch information
lanwen authored Nov 12, 2017
1 parent d43178b commit d1497b8
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 35 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ before_install:
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/${TRAVIS_REPO_SLUG}/
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/${TRAVIS_REPO_SLUG}
- cd $HOME/gopath/src/github.com/${TRAVIS_REPO_SLUG}
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.9.x bash)"
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.9 bash)"

install:
- go get -u github.com/jteeuwen/go-bindata/...
- go get -u github.com/elazarl/go-bindata-assetfs/...
- go get -u github.com/kardianos/govendor
- go get -u github.com/golang/dep/cmd/dep
- go get -u github.com/mitchellh/gox # cross compile
- govendor sync
- dep ensure
- npm install cross-env

after_success:
Expand Down
33 changes: 33 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"


[[constraint]]
branch = "master"
name = "github.com/aandryashin/matchers"

[[constraint]]
branch = "master"
name = "github.com/koding/websocketproxy"
2 changes: 1 addition & 1 deletion docs/contributing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1) Ensure you have https://github.com/yarnpkg/yarn[yarn] and https://github.com/elazarl/go-bindata-assetfs[go-bindata-assetfs] installed

- Get deps with `go get -u github.com/kardianos/govendor && govendor sync`
- Get deps with `go get -u github.com/golang/dep/cmd/dep && dep ensure`

2) Generate static resources:

Expand Down
31 changes: 0 additions & 31 deletions vendor/vendor.json

This file was deleted.

0 comments on commit d1497b8

Please sign in to comment.