summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-17 15:32:56 -0500
committerGitHub <noreply@github.com>2021-01-17 15:32:56 -0500
commit00ab9cab01af125a01ea53b5f48c0d13943f85a1 (patch)
treee30b38e821fb5f4abadda160d2ae30ad186aeb83
parent0030a23777c663af45035a8f7a87bb7c7a24c396 (diff)
parent2df59829e4613242b1e6cc3154ffbc22a3f05ea3 (diff)
downloadpodman-00ab9cab01af125a01ea53b5f48c0d13943f85a1.tar.gz
podman-00ab9cab01af125a01ea53b5f48c0d13943f85a1.tar.bz2
podman-00ab9cab01af125a01ea53b5f48c0d13943f85a1.zip
Merge pull request #8994 from vrothberg/fix-8989
Simplify bindings generation
-rw-r--r--Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index cc7d9f0ff..7d307793c 100644
--- a/Makefile
+++ b/Makefile
@@ -462,15 +462,7 @@ podman-remote-%-release:
BINDINGS_SOURCE = $(wildcard pkg/bindings/**/types.go)
.generate-bindings: $(BINDINGS_SOURCE)
ifneq ($(shell uname -s), Darwin)
- for i in $(BINDINGS_SOURCE); do \
- dirname=$$(dirname $${i}); \
- shortname=$$(basename $${dirname}); \
- pushd $${dirname}>/dev/null; \
- echo $${dirname}; \
- echo $(GO) generate; \
- $(GO) generate; \
- popd > /dev/null; \
- done;
+ $(GO) generate -mod=vendor ./pkg/bindings/... ;
endif
touch .generate-bindings