Convert everything to use vendor/

This commit is contained in:
Tim Hockin
2016-04-13 23:30:15 -07:00
parent 3c0c5ed4e0
commit cbf886c7f4
34 changed files with 84 additions and 84 deletions

View File

@@ -42,7 +42,7 @@ fi
echo -ne "Checking for files that need gofmt... "
files_need_gofmt=()
files=($(git diff --cached --name-only --diff-filter ACM | grep "\.go" | grep -v -e "third_party" -e "Godeps"))
files=($(git diff --cached --name-only --diff-filter ACM | grep "\.go" | grep -v -e "^third_party" -e "^vendor"))
for file in "${files[@]}"; do
# Check for files that fail gofmt.
diff="$(git show ":${file}" | gofmt -s -d 2>&1)"