Skip to content

Commit 0c6ce6a

Browse files
authored
Move code to v2 subfolder for greater compatibility (nicksnyder#187)
1 parent 25e77af commit 0c6ce6a

Some content is hidden

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

50 files changed

+15
-18
lines changed

‎.gitignore‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ output/
55
*.test
66
*.swp
77

8-
example/example
9-
goi18n/goi18n
8+
v2/example/example
9+
v2/goi18n/goi18n
1010

11-
dist/
11+
v2/dist/

‎.golangci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# https://github.com/golangci/golangci/wiki/Configuration
22

3-
service:
4-
prepare:
5-
- go get -t ./...
3+
# service:
4+
# prepare:
5+
# - go get -t ./...
66
linters:
77
enable:
88
- gofmt

‎.travis.yml‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ matrix:
77
- go: 1.12.x
88
env: GO111MODULE=on COVER='-coverprofile=coverage.txt -covermode=atomic'
99

10-
install:
11-
- go get -t -v ./...
12-
1310
script:
14-
- go test -race $COVER ./...
11+
- cd v2; go test -race $COVER ./...
1512

1613
after_success:
1714
- bash <(curl -s https://codecov.io/bash)
1815

1916
deploy:
2017
- provider: script
2118
skip_cleanup: true
22-
script: curl -sL https://git.io/goreleaser | bash
19+
script: cd v2; curl -sL https://git.io/goreleaser | bash
2320
on:
2421
tags: true
2522
condition: $TRAVIS_OS_NAME = linux

‎README.md‎

Lines changed: 5 additions & 5 deletions

‎dev.md‎

Lines changed: 2 additions & 2 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)