summaryrefslogtreecommitdiff
path: root/cmd/ponzu/options.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-19 11:45:31 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-19 11:45:31 -0800
commit9c7f9d5c5a0ee41c405d2ebeb0ad00fe20a09b14 (patch)
treea878db3ba63c0f92fc0ec96a15bf4d2b07e1a63b /cmd/ponzu/options.go
parent3791fadda7b761ffba38c567da29e2e71acd1dfb (diff)
moving repository, bosssauce => ponzu-cms
Diffstat (limited to 'cmd/ponzu/options.go')
-rw-r--r--cmd/ponzu/options.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go
index 9c2767f..27f752a 100644
--- a/cmd/ponzu/options.go
+++ b/cmd/ponzu/options.go
@@ -53,7 +53,7 @@ func newProjectInDir(path string) error {
return createProjInDir(path)
}
-var ponzuRepo = []string{"github.com", "bosssauce", "ponzu"}
+var ponzuRepo = []string{"github.com", "ponzu-cms", "ponzu"}
func createProjInDir(path string) error {
gopath := os.Getenv("GOPATH")
@@ -144,19 +144,12 @@ func createProjInDir(path string) error {
}
func vendorCorePackages(path string) error {
- vendorPath := filepath.Join(path, "cmd", "ponzu", "vendor", "github.com", "bosssauce", "ponzu")
+ vendorPath := filepath.Join(path, "cmd", "ponzu", "vendor", "github.com", "ponzu-cms", "ponzu")
err := os.MkdirAll(vendorPath, os.ModeDir|os.ModePerm)
if err != nil {
return err
}
- // // create a user content directory to be vendored
- // contentPath := filepath.Join(path, "content")
- // err = os.Mkdir(contentPath, os.ModeDir|os.ModePerm)
- // if err != nil {
- // return err
- // }
-
dirs := []string{"content", "management", "system"}
for _, dir := range dirs {
err = os.Rename(filepath.Join(path, dir), filepath.Join(vendorPath, dir))
@@ -250,7 +243,7 @@ func buildPonzuServer(args []string) error {
// copy all ./content files to internal vendor directory
src := "content"
- dst := filepath.Join("cmd", "ponzu", "vendor", "github.com", "bosssauce", "ponzu", "content")
+ dst := filepath.Join("cmd", "ponzu", "vendor", "github.com", "ponzu-cms", "ponzu", "content")
err = copyFilesWarnConflicts(src, dst, []string{"doc.go"})
if err != nil {
return err