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

Commit

Permalink
Use go dep to manage dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
maljub01 committed May 9, 2018
1 parent 6011f16 commit 866e3ff
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
coverage.out
coverage.html
vendor/
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ before_install:
cd "${TRAVIS_BUILD_DIR}";
fi

install: go get -t ./...
install:
- dep ensure

before_script:
# CodeClimate
Expand Down
28 changes: 28 additions & 0 deletions Gopkg.lock

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

11 changes: 11 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[constraint]]
branch = "master"
name = "github.com/benlaurie/objecthash"

[[constraint]]
branch = "master"
name = "github.com/golang/protobuf"

[prune]
go-tests = true
unused-packages = true
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@

.PHONY: test
test:
dep ensure
go test -cover -covermode=count -coverprofile=coverage.out .
go tool cover -html=coverage.out -o coverage.html

0 comments on commit 866e3ff

Please sign in to comment.