Merge pull request #2218 from aaronlehmann/restore-vendor-dir

Makefile: Restore vendor directory after dep-validate
This commit is contained in:
Derek McGowan 2017-03-20 11:28:17 -07:00 committed by GitHub
commit 11c74e07e0

View file

@ -95,4 +95,5 @@ dep-validate:
@$(VNDR) @$(VNDR)
@test -z "$$(diff -r vendor .vendor.bak 2>&1 | tee /dev/stderr)" || \ @test -z "$$(diff -r vendor .vendor.bak 2>&1 | tee /dev/stderr)" || \
(echo >&2 "+ inconsistent dependencies! what you have in vendor.conf does not match with what you have in vendor" && false) (echo >&2 "+ inconsistent dependencies! what you have in vendor.conf does not match with what you have in vendor" && false)
@rm -Rf .vendor.bak @rm -Rf vendor
@mv .vendor.bak vendor