Update docs around migration script

and ensure ~/.local/bin is in PATH on OS X
This commit is contained in:
Dan Buch 2016-05-30 10:54:06 -04:00
parent 462217f9fc
commit 3914ca9d5f
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
4 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.coverprofile *.coverprofile
.extracted-examples

View File

@ -18,6 +18,7 @@ matrix:
include: include:
- go: 1.6.2 - go: 1.6.2
os: osx os: osx
env: PATH=$HOME/.local/bin:$PATH
- go: 1.1.2 - go: 1.1.2
install: go get -v . install: go get -v .
before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION

View File

@ -15,8 +15,8 @@
### Removed ### Removed
- the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`. - the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`.
To migrate to the new API, you may choose to run [this helper To migrate to the new API, you may choose to run [the migrator
(python) script](./cli-migrate-slice-types). (python) script](./cli-v1-to-v2).
- The optimistic reordering of arguments and flags introduced by - The optimistic reordering of arguments and flags introduced by
https://github.com/codegangsta/cli/pull/36. This behavior only worked when https://github.com/codegangsta/cli/pull/36. This behavior only worked when
all arguments appeared before all flags, but caused [weird issues with boolean all arguments appeared before all flags, but caused [weird issues with boolean

View File

@ -66,6 +66,9 @@ import (
... ...
``` ```
**NOTE**: There is a [migrator (python) script](./cli-v1-to-v2) available to aid
with the transition from the v1 to v2 API.
### Pinning to the `v1` branch ### Pinning to the `v1` branch
Similarly to the section above describing use of the `v2` branch, if one wants Similarly to the section above describing use of the `v2` branch, if one wants