Skip to content

Commit

Permalink
rename to example
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Sato1995 committed Jan 25, 2024
1 parent cde100c commit 96eac89
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 2 deletions.
2 changes: 2 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Update based on the given path
/generated
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions example/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module example

go 1.21.6

require github.com/K-Sato1995/go-simple-ssg v0.0.4

require (
github.com/evanw/esbuild v0.19.12 // indirect
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47 // indirect
golang.org/x/sys v0.16.0 // indirect
)
9 changes: 9 additions & 0 deletions example/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
github.com/K-Sato1995/go-simple-ssg v0.0.4 h1:VxfyJ4yJ5fsKulFvv0FYoV/AAqqvL9TM31/7eHTbStc=
github.com/K-Sato1995/go-simple-ssg v0.0.4/go.mod h1:YHycf9HcvbY/X3H4qVyRfd3RY/zLByBCLnxd737rHJI=
github.com/evanw/esbuild v0.19.12 h1:p5WGo4o6TCN+kt+uZtYSGS3ZHPa+iIZ0SX+ys8UnP10=
github.com/evanw/esbuild v0.19.12/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48=
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47 h1:k4Tw0nt6lwro3Uin8eqoET7MDA4JnT8YgbCjc/g5E3k=
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions simple-ssg-cli/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func init() {
RootCmd.AddCommand(initCmd)
}

const BASE_PROJECT_PATH = "baseProject"
const BASE_PROJECT_PATH = "example"
const REPO_URL = "https://github.com/K-Sato1995/go-simple-ssg"

func initialize(cmd *cobra.Command, args []string) {
Expand Down Expand Up @@ -62,7 +62,7 @@ func initialize(cmd *cobra.Command, args []string) {

err = copyDir(baseProjectPath, projectDir)
if err != nil {
fmt.Println("Error copying baseProject:", err)
fmt.Println("Error copying example:", err)
return
}

Expand Down

0 comments on commit 96eac89

Please sign in to comment.