summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--cmd/ponzu/options.go16
2 files changed, 3 insertions, 16 deletions
diff --git a/README.md b/README.md
index 8b8dbe1..20e0ead 100644
--- a/README.md
+++ b/README.md
@@ -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
}