From 398c5b380a455e72eed4b614ceb7c8bbe44d3a3e Mon Sep 17 00:00:00 2001 From: savitaashture Date: Fri, 30 Oct 2020 16:56:26 +0530 Subject: [PATCH] Moved spec-gen from cmd to hack directory --- {cmd => hack}/spec-gen/main.go | 0 hack/update-openapigen.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {cmd => hack}/spec-gen/main.go (100%) diff --git a/cmd/spec-gen/main.go b/hack/spec-gen/main.go similarity index 100% rename from cmd/spec-gen/main.go rename to hack/spec-gen/main.go diff --git a/hack/update-openapigen.sh b/hack/update-openapigen.sh index ed7f13db4dc..e51cd60aa0b 100755 --- a/hack/update-openapigen.sh +++ b/hack/update-openapigen.sh @@ -24,5 +24,5 @@ go run k8s.io/kube-openapi/cmd/openapi-gen \ --go-header-file hack/boilerplate/boilerplate.go.txt >> /dev/null echo "Generating swagger file ..." -go run cmd/spec-gen/main.go v0.17.2 > pkg/apis/pipeline/v1beta1/swagger.json +go run hack/spec-gen/main.go v0.17.2 > pkg/apis/pipeline/v1beta1/swagger.json