Skip to content

Commit 91247f2

Browse files
committed
go.mod: initial commit
For a similar rationale to [1], let's build package github.com/git-lfs/gitobj on Go 1.11, and use Go modules. Since we were running builds on a variety of Go versions before introducing modules, let's no longer do that and instead run on Go 1.11 only. Doing so allows us to uniformly build outside of the $GOPATH, and avoids having to maintain different checkout locations based on the version of Go being used. [1]: git-lfs/wildmatch@4bab7d7 (go.mod: initial commit, 2018-08-30)
1 parent 5aa0c18 commit 91247f2

File tree

99 files changed

+3785
-18130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+3785
-18130
lines changed

.travis.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
language: go
2-
go:
3-
- 1.8.3
4-
- 1.10.x
5-
- master
2+
go: 1.11
3+
before_install:
4+
- >
5+
mkdir -p ~/src;
6+
mv "$TRAVIS_BUILD_DIR" ~/src/gitobj;
7+
export TRAVIS_BUILD_DIR=~/src/gitobj;
68
notifications:
79
email: false

glide.lock

-17
This file was deleted.

glide.yaml

-8
This file was deleted.

go.mod

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module github.com/git-lfs/gitobj
2+
3+
require (
4+
github.com/davecgh/go-spew v1.1.1 // indirect
5+
github.com/pmezard/go-difflib v1.0.0 // indirect
6+
github.com/stretchr/testify v1.2.2
7+
)

go.sum

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5+
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
6+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=

vendor/github.com/davecgh/go-spew/.gitignore

-22
This file was deleted.

vendor/github.com/davecgh/go-spew/.travis.yml

-11
This file was deleted.

vendor/github.com/davecgh/go-spew/LICENSE

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/davecgh/go-spew/README.md

-194
This file was deleted.

vendor/github.com/davecgh/go-spew/cov_report.sh

-22
This file was deleted.

0 commit comments

Comments
 (0)