diff options
Diffstat (limited to '_support/makegen.go')
-rw-r--r-- | _support/makegen.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/_support/makegen.go b/_support/makegen.go index e5f8b5ca0..632b460f3 100644 --- a/_support/makegen.go +++ b/_support/makegen.go @@ -354,14 +354,18 @@ govendor-status: {{ .GoVendor }} go get github.com/kardianos/govendor .PHONY: notice-up-to-date -notice-up-to-date: {{ .GoVendor }} +notice-up-to-date: {{ .GoVendor }} clean-ruby-vendor-go # notice-up-to-date @(cd {{ .SourceDir }} && govendor license -template _support/notice.template | cmp - NOTICE) || (echo >&2 "NOTICE requires update: 'make notice'" && false) -.PHONY: notice -notice: {{ .GoVendor }} +.PHONY: notice +notice: {{ .GoVendor }} clean-ruby-vendor-go cd {{ .SourceDir }} && govendor license -template _support/notice.template -o NOTICE +.PHONY: clean-ruby-vendor-go +clean-ruby-vendor-go: + cd {{ .SourceDir }} && find ruby/vendor -type f -name '*.go' -delete + .PHONY: govendor-tagged govendor-tagged: {{ .GoVendor }} # govendor-tagged |