diff options
author | Steve <nilslice@gmail.com> | 2016-10-19 15:35:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-19 15:35:18 -0700 |
commit | 519c5b44d0b36e1f61cb0228889401fa1e33357e (patch) | |
tree | 5a3db5cecdf9c1bf9be08e8d9f886692ab9fb4fd | |
parent | 9578efc82d3637ec882511998539c2744d91e8d6 (diff) | |
parent | aa97af279e0ad3fdda3e2ee7cf22e90d63b268c4 (diff) |
Merge pull request #6 from bosssauce/ponzu-dev
[contrib] Adding details about contributing and using the ponzu cli
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | cmd/ponzu/options.go | 16 |
2 files changed, 3 insertions, 16 deletions
@@ -52,7 +52,8 @@ $ git push origin ponzu-dev **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`. +where `path/to/your/fork` _must_ be within `$GOPATH/src`, and you are working from a branch +called `ponxu-dev`. For example: ```bash diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go index 0090da7..cabe91a 100644 --- a/cmd/ponzu/options.go +++ b/cmd/ponzu/options.go @@ -215,20 +215,6 @@ func createProjInDir(path string) error { } if dev { - branch := exec.Command("git", "checkout", "ponzu-dev") - branch.Stdout = os.Stdout - branch.Stderr = os.Stderr - - err := branch.Start() - if err != nil { - return err - } - - err = branch.Wait() - if err != nil { - return err - } - if fork != "" { local = filepath.Join(gopath, "src", fork) } @@ -258,7 +244,7 @@ func createProjInDir(path string) error { return err } - fmt.Println("Dev build cloned from bosssauce/ponzu:ponzu-dev") + fmt.Println("Dev build cloned from " + local + ":ponzu-dev") return nil } |