Skip to content

Commit 61efb32

Browse files
committed
Added Gopkg and updated README. This is v1.0.0
1 parent b848cc4 commit 61efb32

File tree

5 files changed

+83
-4
lines changed

5 files changed

+83
-4
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ _testmain.go
2222
*.exe
2323
*.test
2424
*.prof
25+
26+
# vendor
27+
/vendor

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ branches:
55
- master
66

77
go:
8-
- 1.5.4
9-
- 1.6.3
10-
- 1.7.3
8+
- 1.5.x
9+
- 1.6.x
10+
- 1.7.x
11+
- 1.8.x
12+
- 1.9.x
1113
- tip
1214

1315
env:

Gopkg.lock

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

Gopkg.toml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
# Gopkg.toml example
3+
#
4+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
5+
# for detailed Gopkg.toml documentation.
6+
#
7+
# required = ["github.com/user/thing/cmd/thing"]
8+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9+
#
10+
# [[constraint]]
11+
# name = "github.com/user/project"
12+
# version = "1.0.0"
13+
#
14+
# [[constraint]]
15+
# name = "github.com/user/project2"
16+
# branch = "dev"
17+
# source = "github.com/myfork/project2"
18+
#
19+
# [[override]]
20+
# name = "github.com/x/y"
21+
# version = "2.4.0"
22+
23+
ignored = ["github.com/alecthomas/assert"]
24+
25+
[[constraint]]
26+
name = "github.com/pkg/errors"
27+
version = "0.8.0"
28+
29+
[[constraint]]
30+
name = "github.com/stretchr/testify"
31+
version = "1.1.4"
32+
33+
[[constraint]]
34+
branch = "master"
35+
name = "github.com/xtgo/set"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Package hm is a simple Hindley-Milner type inference system in Go. It provides t
66

77
This package is go-gettable: `go get -u github.com/chewxy/hm`
88

9-
There are very few dependencies that this package uses. Therefore there isn't a need for vendoring tools.
9+
There are very few dependencies that this package uses. Therefore there isn't a need for vendoring tools. However, package hm DOES provide a `Gopkg.toml` and `Gopkg.lock` for any potential users of the [dep](https://github.com/golang/dep) tool.
1010

1111
Here is a listing of the dependencies of `hm`:
1212

0 commit comments

Comments
 (0)