Skip to content

Commit 22c2621

Browse files
authored
Merge branch 'master' into go-1.13
2 parents acadcf8 + d68972b commit 22c2621

File tree

7 files changed

+15
-263
lines changed

7 files changed

+15
-263
lines changed

.travis.yml

-9
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ dist: bionic
22
language: go
33

44
go:
5-
- "1.9.x"
6-
- "1.10.x"
75
- "1.11.x"
86
- "1.12.x"
97
- "1.13.x"
@@ -12,13 +10,6 @@ branches:
1210
only:
1311
- master
1412

15-
env:
16-
global:
17-
- GO111MODULE=on
18-
- GOPROXY=https://proxy.golang.org,direct
19-
20-
install: make bootstrap
21-
2213
after_success:
2314
# only report coverage for go-version 1.11
2415
- if [[ $TRAVIS_GO_VERSION =~ ^1\.11 ]] ; then bash <(curl -s https://codecov.io/bash) -f all-cover.txt; fi

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Unreleased
99

10+
### Removed
11+
12+
- Removed support for Go versions that don't include modules.
13+
1014
## [0.4.0] - 2019-02-19
1115

1216
### Added

Gopkg.lock

-211
This file was deleted.

Gopkg.toml

-20
This file was deleted.

Makefile

-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
HAS_GO_MOD=$(shell go help mod; echo $$?)
21
LINTERS=$(shell grep "// lint" tools.go | awk '{gsub(/\"/, "", $$1); print $$1}' | awk -F / '{print $$NF}') \
32
gofmt \
43
vet
@@ -25,23 +24,12 @@ $(foreach cmd_pkg,$(CMD_PKGS),$(eval $(call VENDOR_BIN_TMPL,$(cmd_pkg))))
2524
$(patsubst %,%-bin,$(filter-out gofmt vet,$(LINTERS))): %-bin: vendor/bin/%
2625
gofmt-bin vet-bin:
2726

28-
ifeq ($(HAS_GO_MOD),0)
29-
bootstrap:
30-
3127
vendor: go.sum
3228
GO111MODULE=on go mod vendor
33-
else
34-
bootstrap:
35-
which dep || go get -u github.com/golang/dep/cmd/dep
36-
37-
vendor: Gopkg.lock
38-
dep ensure -vendor-only
39-
endif
4029

4130
mod-update:
4231
GO111MODULE=on go get -u -m
4332
GO111MODULE=on go mod tidy
44-
dep ensure -update
4533

4634
mod-tidy:
4735
GO111MODULE=on go mod tidy

go.mod

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/manifoldco/promptui
22

3-
go 1.13
3+
go 1.11
44

55
require (
66
github.com/BurntSushi/toml v0.3.1 // indirect
@@ -18,18 +18,17 @@ require (
1818
github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a // indirect
1919
github.com/mattn/go-colorable v0.0.9 // indirect
2020
github.com/mattn/go-isatty v0.0.4 // indirect
21-
github.com/nicksnyder/go-i18n v1.10.1 // indirect
21+
github.com/nicksnyder/go-i18n v0.0.0-00010101000000-000000000000 // indirect
2222
github.com/tsenart/deadcode v0.0.0-20160724212837-210d2dc333e9
2323
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3
2424
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b // indirect
2525
golang.org/x/tools v0.0.0-20181122213734-04b5d21e00f1 // indirect
26-
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c // indirect
26+
27+
// Do not change this version of kingpin; we will remove it when we stop using gometalinter
28+
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20171010053543-63abe20a23e2 // indirect
29+
2730
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
2831
)
2932

30-
// This version of kingpin is incompatible with the released version of
31-
// gometalinter until the next release of gometalinter, and possibly until it
32-
// has go module support, we'll need this exclude, and perhaps some more.
33-
//
34-
// After that point, we should be able to remove it.
35-
// exclude gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c
33+
// Remove this when we stop using gometalinter and kingpin
34+
replace github.com/nicksnyder/go-i18n => github.com/nicksnyder/go-i18n v1.10.1

go.sum

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWs
1212
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
1313
github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=
1414
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
15+
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
1516
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1617
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1718
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -49,8 +50,8 @@ golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b h1:MQE+LT/ABUuuvEZ+YQAMSXind
4950
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
5051
golang.org/x/tools v0.0.0-20181122213734-04b5d21e00f1 h1:bsEj/LXbv3BCtkp/rBj9Wi/0Nde4OMaraIZpndHAhdI=
5152
golang.org/x/tools v0.0.0-20181122213734-04b5d21e00f1/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
52-
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c h1:vTxShRUnK60yd8DZU+f95p1zSLj814+5CuEh7NjF2/Y=
53-
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c/go.mod h1:3HH7i1SgMqlzxCcBmUHW657sD4Kvv9sC3HpL3YukzwA=
53+
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20171010053543-63abe20a23e2 h1:5zOHKFi4LqGWG+3d+isqpbPrN/2yhDJnlO+BhRiuR6U=
54+
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20171010053543-63abe20a23e2/go.mod h1:3HH7i1SgMqlzxCcBmUHW657sD4Kvv9sC3HpL3YukzwA=
5455
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
5556
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
5657
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

0 commit comments

Comments
 (0)