Skip to content

Commit

Permalink
Merge pull request #8994 from vrothberg/fix-8989
Browse files Browse the repository at this point in the history
Simplify bindings generation
  • Loading branch information
openshift-merge-robot authored Jan 17, 2021
2 parents 0030a23 + 2df5982 commit 00ab9ca
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 00ab9ca

Please sign in to comment.