Skip to content

Commit

Permalink
Improve sanity check by checking all commits
Browse files Browse the repository at this point in the history
This compares this commit to the master, looking for bad files.
  • Loading branch information
sjoelund committed Jun 15, 2015
1 parent 752d5e7 commit 004a350
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.common
Expand Up @@ -410,5 +410,6 @@ git-clean:

git-sanity-check: git-clean
test "./Compiler/boot/bootstrap-sources.tar.xz" = `find . -type f -size +684k | grep -v 3rdParty`
test ! -e SimulationRuntime/cpp/Doc
! find . -name "*.html" -o -name "*.png" | grep -v 3rdParty
for commit in `git rev-list origin/master..HEAD`; do \
(! git ls-tree --name-only -r $$commit | egrep "(.*[.](html|png|o|so|a|dll|exe|log|db|zip|DS_Store)$$)|SimulationRuntime/cpp/Doc" || exit 1) \
done

0 comments on commit 004a350

Please sign in to comment.