From 3914ca9d5f43b15dfa8f9f644bcde8cd803ae5d1 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 30 May 2016 10:54:06 -0400 Subject: [PATCH] Update docs around migration script and ensure ~/.local/bin is in PATH on OS X --- .gitignore | 1 + .travis.yml | 1 + CHANGELOG.md | 4 ++-- README.md | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7823778..2a7262d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.coverprofile +.extracted-examples diff --git a/.travis.yml b/.travis.yml index 744ef8d..2667e57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ matrix: include: - go: 1.6.2 os: osx + env: PATH=$HOME/.local/bin:$PATH - go: 1.1.2 install: go get -v . before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION diff --git a/CHANGELOG.md b/CHANGELOG.md index 248181e..c9e2c07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,8 +15,8 @@ ### Removed - the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`. - To migrate to the new API, you may choose to run [this helper - (python) script](./cli-migrate-slice-types). + To migrate to the new API, you may choose to run [the migrator + (python) script](./cli-v1-to-v2). - The optimistic reordering of arguments and flags introduced by https://github.com/codegangsta/cli/pull/36. This behavior only worked when all arguments appeared before all flags, but caused [weird issues with boolean diff --git a/README.md b/README.md index 11a3ea4..4cfb562 100644 --- a/README.md +++ b/README.md @@ -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 Similarly to the section above describing use of the `v2` branch, if one wants