Add check-vendor target to Makefile
authorCameron Moore <moorereason@gmail.com>
Wed, 19 Apr 2017 13:05:20 +0000 (08:05 -0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 19 Apr 2017 16:04:53 +0000 (18:04 +0200)
commit592e055f12b2de16ee1ae0ed9fe7a7b6fe2a663e
treea597bca2052c323363abc9789ffe4d5c182b68fa
parentab692e73dea3ddfe979c88ee236cc394e47e82f1
Add check-vendor target to Makefile

The check-vendor target will exit with an error if any files in vendor/
differ from what's checked into git.

govendor checksums can get out of sync if extraneous files are in the
local, third-party repo (see kardianos/govendor#129).  govendor also
updates the vendor.json upon "sync."  We can use that quirk to detect
out of sync checksums in CI, so I've added check-vendor to the check
target dependencies.
Makefile