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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go
index 375893d..7c93130 100644
--- a/cmd/ponzu/options.go
+++ b/cmd/ponzu/options.go
@@ -231,7 +231,8 @@ func buildPonzuServer(args []string) error {
// execute go build -o ponzu-cms cmd/ponzu/*.go
mainPath := filepath.Join(pwd, "cmd", "ponzu", "main.go")
optsPath := filepath.Join(pwd, "cmd", "ponzu", "options.go")
- build := exec.Command("go", "build", "-o", "ponzu-server", mainPath, optsPath)
+ genPath := filepath.Join(pwd, "cmd", "ponzu", "generate.go")
+ build := exec.Command("go", "build", "-o", "ponzu-server", mainPath, optsPath, genPath)
build.Stderr = os.Stderr
build.Stdout = os.Stdout