diff --git a/.gitignore b/.gitignore index daf913b..f70f99c 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ _testmain.go *.exe *.test *.prof + +# vendor +/vendor \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index d4de194..dc6d93f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,11 @@ branches: - master go: - - 1.5.4 - - 1.6.3 - - 1.7.3 + - 1.5.x + - 1.6.x + - 1.7.x + - 1.8.x + - 1.9.x - tip env: diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..582ab62 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,39 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + name = "github.com/davecgh/go-spew" + packages = ["spew"] + revision = "346938d642f2ec3594ed81d874461961cd0faa76" + version = "v1.1.0" + +[[projects]] + name = "github.com/pkg/errors" + packages = ["."] + revision = "645ef00459ed84a119197bfb8d8205042c6df63d" + version = "v0.8.0" + +[[projects]] + name = "github.com/pmezard/go-difflib" + packages = ["difflib"] + revision = "792786c7400a136282c1664665ae0a8db921c6c2" + version = "v1.0.0" + +[[projects]] + name = "github.com/stretchr/testify" + packages = ["assert"] + revision = "69483b4bd14f5845b5a1e55bca19e954e827f1d0" + version = "v1.1.4" + +[[projects]] + branch = "master" + name = "github.com/xtgo/set" + packages = ["."] + revision = "4431f6b51265b1e0b76af4dafc09d6f12c2bdcd0" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "e010eb1269d6f582c0c9b306d2506a5bcfd99464e64a0f21c9be12478b262b37" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..93f7a5a --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,35 @@ + +# 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" + +ignored = ["github.com/alecthomas/assert"] + +[[constraint]] + name = "github.com/pkg/errors" + version = "0.8.0" + +[[constraint]] + name = "github.com/stretchr/testify" + version = "1.1.4" + +[[constraint]] + branch = "master" + name = "github.com/xtgo/set" diff --git a/README.md b/README.md index 3ce26e2..4576b81 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Package hm is a simple Hindley-Milner type inference system in Go. It provides t This package is go-gettable: `go get -u github.com/chewxy/hm` -There are very few dependencies that this package uses. Therefore there isn't a need for vendoring tools. +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. Here is a listing of the dependencies of `hm`: