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

Commit

Permalink
Merge pull request #306 from vania-pooh/master
Browse files Browse the repository at this point in the history
Migrated to dep (fixes #305)
  • Loading branch information
vania-pooh authored Dec 8, 2017
2 parents 17d3cfd + d9a2348 commit d991d64
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 254 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ 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:
- go get -u github.com/mitchellh/gox # cross compile
- govendor sync
- dep ensure

deploy:
- provider: releases
Expand Down
79 changes: 79 additions & 0 deletions Gopkg.lock

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

29 changes: 29 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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]]
name = "github.com/docker/go-units"
version = "0.3.2"
10 changes: 5 additions & 5 deletions docs/contributing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ To build Selenoid:

. 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 Selenoid source:

$ go get -d github.com/aerokube/selenoid

. Go to project directory:

$ cd $GOPATH/src/github.com/aerokube/selenoid

. Checkout dependencies

$ cd $GOPATH/src/github.com/aerokube/selenoid && govendor sync
$ go get -u github.com/golang/dep/cmd/dep && dep ensure

. Build source:

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

This file was deleted.

0 comments on commit d991d64

Please sign in to comment.