Make dep-validate more selective

Signed-off-by: Olivier Gambier <olivier@docker.com>
This commit is contained in:
Olivier Gambier 2016-03-23 11:49:34 -07:00
parent d1444b56e9
commit abc9c65e34

View file

@ -50,7 +50,7 @@ test:
- gvm use stable && go version
# Ensure validation of dependencies
- gvm use stable && make dep-validate:
- gvm use stable && if test -n "`git diff --stat=1000 master | grep -Ei \"vendor|godeps\"`"; then make dep-validate; fi:
pwd: $BASE_STABLE
# First thing: build everything. This will catch compile errors, and it's