diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ponzu/contentType.tmpl | 4 | ||||
-rw-r--r-- | cmd/ponzu/main.go | 14 | ||||
-rw-r--r-- | cmd/ponzu/options.go | 13 |
3 files changed, 12 insertions, 19 deletions
diff --git a/cmd/ponzu/contentType.tmpl b/cmd/ponzu/contentType.tmpl index 1804555..381de30 100644 --- a/cmd/ponzu/contentType.tmpl +++ b/cmd/ponzu/contentType.tmpl @@ -3,8 +3,8 @@ package content import ( "fmt" - "github.com/bosssauce/ponzu/management/editor" - "github.com/bosssauce/ponzu/system/item" + "github.com/ponzu-cms/ponzu/management/editor" + "github.com/ponzu-cms/ponzu/system/item" ) type {{ .Name }} struct { diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index b2b5e75..ae646c5 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -10,14 +10,14 @@ import ( "strings" "time" - "github.com/bosssauce/ponzu/system/admin" - "github.com/bosssauce/ponzu/system/api" - "github.com/bosssauce/ponzu/system/api/analytics" - "github.com/bosssauce/ponzu/system/db" - "github.com/bosssauce/ponzu/system/tls" + "github.com/ponzu-cms/ponzu/system/admin" + "github.com/ponzu-cms/ponzu/system/api" + "github.com/ponzu-cms/ponzu/system/api/analytics" + "github.com/ponzu-cms/ponzu/system/db" + "github.com/ponzu-cms/ponzu/system/tls" // import registers content types - _ "github.com/bosssauce/ponzu/content" + _ "github.com/ponzu-cms/ponzu/content" ) var year = fmt.Sprintf("%d", time.Now().Year()) @@ -57,7 +57,7 @@ new <directory>: immediately following the 'new' option in the $GOPATH/src directory. Note: 'new' depends on the program 'git' and possibly a network connection. If there is no local repository to clone from at the local machine's $GOPATH, - 'new' will attempt to clone the 'github.com/bosssauce/ponzu' package from + 'new' will attempt to clone the 'github.com/ponzu-cms/ponzu' package from over the network. Example: 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 |