diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-26 12:59:28 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-26 12:59:28 -0800 |
commit | 160aef1a0869585bb7760078d7ea78db1d730489 (patch) | |
tree | 2c4f5ef9db67d1fd4e5c19cb631bf08e3faeb29f | |
parent | d25891364fca37205162b1291073b3df5ee85df5 (diff) |
adding generate.go file to build files
-rw-r--r-- | cmd/ponzu/options.go | 3 |
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 |