summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/cobra/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-15 06:32:07 -0400
committerGitHub <noreply@github.com>2022-03-15 06:32:07 -0400
commit758f2c7a094a3654af98d9365b7f975b7bd12ff4 (patch)
tree41dace9da8f4eb9da1500b28e94ff72e04ebee2f /vendor/github.com/spf13/cobra/Makefile
parentae7997ab50c7dcfbf7f0a3ec19c9ce1126095f8e (diff)
parentdaebf50b899fe998b8866a9f99e4c2b677645091 (diff)
downloadpodman-758f2c7a094a3654af98d9365b7f975b7bd12ff4.tar.gz
podman-758f2c7a094a3654af98d9365b7f975b7bd12ff4.tar.bz2
podman-758f2c7a094a3654af98d9365b7f975b7bd12ff4.zip
Merge pull request #13498 from flouthoc/podman-vendor-buildah
vendor: update `c/buildah`, `c/image` and `c/storage`
Diffstat (limited to 'vendor/github.com/spf13/cobra/Makefile')
-rw-r--r--vendor/github.com/spf13/cobra/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/vendor/github.com/spf13/cobra/Makefile b/vendor/github.com/spf13/cobra/Makefile
index 443ef1a98..5880f04eb 100644
--- a/vendor/github.com/spf13/cobra/Makefile
+++ b/vendor/github.com/spf13/cobra/Makefile
@@ -9,11 +9,11 @@ ifeq (, $(shell which richgo))
$(warning "could not find richgo in $(PATH), run: go get github.com/kyoh86/richgo")
endif
-.PHONY: fmt lint test install_deps clean
+.PHONY: fmt lint test cobra_generator install_deps clean
default: all
-all: fmt test
+all: fmt test cobra_generator
fmt:
$(info ******************** checking formatting ********************)
@@ -27,6 +27,11 @@ test: install_deps
$(info ******************** running tests ********************)
richgo test -v ./...
+cobra_generator: install_deps
+ $(info ******************** building generator ********************)
+ mkdir -p $(BIN)
+ make -C cobra all
+
install_deps:
$(info ******************** downloading dependencies ********************)
go get -v ./...