Move third_party code under third_party/src so it can be used in $GOPATH.

This commit is contained in:
Joe Beda
2014-06-13 15:15:38 -07:00
parent a40529b379
commit d230625e1a
127 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
errors=0
for file in $(git diff --cached --name-only | grep "\.go"); do
for file in $(git diff --cached --name-only --diff-filter ACM | grep "\.go" | grep -v "third_party"); do
diff="$(git show ":${file}" | gofmt -s -d)"
if [[ -n "$diff" ]]; then
echo "# *** ERROR: *** File ${file} has not been gofmt'd." >> $1