Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ instead of...
[oweals/minetest.git] / util / travis / script.sh
index ef42916b03456d62c09aed190dfe61069d9b41ec..4a12df5f61f4025874c7748f567efdce3d402a6c 100755 (executable)
@@ -10,10 +10,10 @@ function perform_lint() {
 
        if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
                # Get list of every file modified in this pull request
-               files_to_lint="$(git diff --name-only --diff-filter=ACMRTUXB $TRAVIS_COMMIT_RANGE | grep '^src/[^.]*[.]\(cpp\|h\)$' | egrep -v '^src/(gmp|lua|jsoncpp)/' || true)"
+               files_to_lint="$(git diff --name-only --diff-filter=ACMRTUXB $TRAVIS_COMMIT_RANGE | grep '^src/[^.]*[.]\(cpp\|h\)$' | true)"
        else
                # Check everything for branch pushes
-               files_to_lint="$(find src/ -name '*.cpp' -or -name '*.h' | egrep -v '^src/(gmp|lua|jsoncpp)/')"
+               files_to_lint="$(find src/ -name '*.cpp' -or -name '*.h')"
        fi
 
        local errorcount=0