Skip to content

Commit c8083e3

Browse files
Merge pull request #312 from carolynvs/clean-packr
Clean packr files before verifying vendor
2 parents b4b7039 + 9212ba4 commit c8083e3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ get-mixins:
6767

6868
verify: verify-vendor
6969

70-
verify-vendor: dep
70+
verify-vendor: clean-packr dep
7171
dep check
7272

7373
HAS_DEP := $(shell command -v dep)
@@ -127,3 +127,9 @@ clean-mixins:
127127

128128
clean-last-testrun:
129129
-rm -fr cnab/ porter.yaml Dockerfile bundle.json
130+
131+
clean-packr: packr2
132+
cd pkg/porter && packr2 clean
133+
$(foreach MIXIN, $(INT_MIXINS), \
134+
`cd pkg/$(MIXIN) && packr2 clean`; \
135+
)

0 commit comments

Comments
 (0)