Skip to content

Commit

Permalink
Merge pull request #77 from fanminshi/fix_codegen_tmpl
Browse files Browse the repository at this point in the history
pkg/generator: fix path to boilerplate.go.txt in coden
  • Loading branch information
hasbro17 committed Mar 1, 2018
2 parents 7e5438e + 1407ae7 commit d8b46f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/generator/codegen_tmpls.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ docker run --rm \
"{{.RepoPath}}/pkg/generated" \
"{{.RepoPath}}/pkg/apis" \
"{{.APIDirName}}:{{.Version}}" \
--go-header-file "./hack/codegen/boilerplate.go.txt" \
--go-header-file "./tmp/codegen/boilerplate.go.txt" \
$@
.
`
2 changes: 1 addition & 1 deletion pkg/generator/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ docker run --rm \
"github.com/coreos/play/pkg/generated" \
"github.com/coreos/play/pkg/apis" \
"play:v1alpha1" \
--go-header-file "./hack/codegen/boilerplate.go.txt" \
--go-header-file "./tmp/codegen/boilerplate.go.txt" \
$@
.
`
Expand Down

0 comments on commit d8b46f3

Please sign in to comment.