File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,15 @@ generate: controller-gen client-gen
133133 $(CONTROLLER_GEN ) \
134134 object:headerFile=./hack/boilerplate.go.txt paths=./pkg/apis/...
135135 $(CLIENT_GEN ) \
136- --output-base=$$( pwd ) /../../../ \
136+ --output-base=. \
137137 --output-package=github.com/replicatedhq/troubleshoot/pkg/client \
138138 --clientset-name troubleshootclientset \
139139 --input-base github.com/replicatedhq/troubleshoot/pkg/apis \
140140 --input troubleshoot/v1beta1 \
141141 --input troubleshoot/v1beta2 \
142142 -h ./hack/boilerplate.go.txt
143+ cp -r github.com/replicatedhq/troubleshoot/pkg/client/troubleshootclientset pkg/client
144+ rm -rf github.com
143145
144146.PHONY : openapischema
145147openapischema : controller-gen
You can’t perform that action at this time.
0 commit comments