Skip to content

Commit

Permalink
use dep to lock the dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Oct 20, 2017
1 parent f8af1a1 commit 6e0c408
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
99 changes: 99 additions & 0 deletions Gopkg.lock

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

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

# 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]]
name = "github.com/Songmu/retry"
version = "0.0.1"

[[constraint]]
name = "github.com/github/hub"
version = "2.2.9"

[[constraint]]
branch = "master"
name = "github.com/mitchellh/go-homedir"

[[constraint]]
branch = "master"
name = "github.com/octokit/go-octokit"

[[constraint]]
name = "github.com/pkg/errors"
version = "0.8.0"
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ testgo: testdeps
go test ./...

deps:
go get -d -v ./...
go get -u github.com/golang/dep/cmd/dep
dep ensure

testdeps:
go get -d -v -t ./...
testdeps: deps
go get github.com/golang/lint/golint
go get golang.org/x/tools/cmd/cover
go get github.com/pierrre/gotestcover
Expand Down

0 comments on commit 6e0c408

Please sign in to comment.