summaryrefslogtreecommitdiff
path: root/cmd/ponzu/options.go
diff options
context:
space:
mode:
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