Skip to content

Commit

Permalink
Migrated to dep (fixes #137)
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Dec 8, 2017
1 parent acd1e95 commit e2e3322
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -13,10 +13,10 @@ script:
- gox -os "linux darwin windows" -arch "amd64" -osarch="windows/386" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X main.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.gitRevision=`git describe --tags || git rev-parse HEAD`"

before_install:
- go get -u github.com/kardianos/govendor
- go get -u github.com/golang/dep/cmd/dep

install:
- govendor sync
- dep ensure
- go get -u github.com/mitchellh/gox # cross compile

deploy:
Expand Down
29 changes: 29 additions & 0 deletions Gopkg.lock

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

21 changes: 21 additions & 0 deletions Gopkg.toml
@@ -0,0 +1,21 @@
# 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"

6 changes: 1 addition & 5 deletions docs/contributing.adoc
Expand Up @@ -3,10 +3,6 @@ To build Ggr:

. Install https://golang.org/doc/install[Golang]
. Setup `$GOPATH` https://github.com/golang/go/wiki/GOPATH[properly]
. Install https://github.com/kardianos/govendor[govendor]:

$ go get -u github.com/kardianos/govendor

. Get Ggr source:

$ go get -d github.com/aerokube/ggr
Expand All @@ -17,7 +13,7 @@ To build Ggr:

. Checkout dependencies:

$ govendor sync
$ go get -u github.com/golang/dep/cmd/dep && dep ensure

. Build source:

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

This file was deleted.

0 comments on commit e2e3322

Please sign in to comment.