diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-19 15:20:32 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-19 15:20:32 -0700 |
commit | 9578efc82d3637ec882511998539c2744d91e8d6 (patch) | |
tree | 76af30f083c127ce3ab52558b9052957327f4d7e /README.md | |
parent | 7a536f114b49285672f243be91e69d5fb42850d3 (diff) |
adding a --fork flag to allow contributors to use their own forks in ponzu-dev workflow & described this in readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -24,9 +24,8 @@ $ go get github.com/bosssauce/ponzu/... _A typical contribution workflow might look like:_ ```bash -# fork the repository and checkout -# ... after forking to your own account -$ git clone https://github.com/<YOUR_GITHUB>/ponzu 'path/to/local/ponzu' +# clone the repository and checkout ponzu-dev +$ git clone https://github.com/bosssauce/ponzu 'path/to/local/ponzu' $ git checkout ponzu-dev # install ponzu with go get or from your own local path @@ -51,6 +50,17 @@ $ git push origin ponzu-dev # ... go to https://github.com/bosssauce/ponzu and create a PR ``` +**Note:** if you intend to work on your own fork and contribute from it, you will +need to also pass `--fork=path/to/your/fork` (using OS-standard filepath structure), +where `path/to/your/fork` _must_ be within `$GOPATH/src`. + +For example: +```bash +# ($GOPATH/src is implied in the fork path, do not add it yourself) +$ ponzu --dev --fork=github.com/nilslice/ponzu new /path/to/new/project +``` + + ## Credits - [golang.org/x/text/transform](https://golang.org/x/text/transform) |