summaryrefslogtreecommitdiff
path: root/util/travis/lint.sh
Commit message (Collapse)AuthorAge
* Update our tooling (Clang 5 -> 7, GCC 7 -> 8)Loïc Blot2019-03-14
| | | | | | | | This change permits to use up-to-date compilers, clang-tidy and clang-format It also refactor the tidy/format step to drop the binary selection from scripts and perform it directly in travis
* Fix fake LINT check success (#8092)Jozef Behran2019-01-12
| | | | | | | | | The code 'if [ -z ${something} ]; then ... fi' means "if ${something} is an empty string, yell at the command line about 'binary operator expected' and ignore the body of the if statement, if ${something} is not an empty string, the condition is false so ignore the body of the if statement" which clearly isn't what the author wanted. Fix it by adding a few quotes around the offending ${something}.
* Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot2017-10-09
| | | | * Update clang from 4.0 to 5.0
* Minetest for C++11 (CMakeLists + Travis)Loic Blot2017-06-04
| | | | | | | | | | | * Move GCC to GCC 6 & GCC 7 * Move Clang to Clang 3.6 & Clang 4.0 * LINT moves from Clang 3.9 to Clang 4.0 * Move XCode 7.3 to 8.0 * Use more travis tricks to install compilers instead of adding complexity to our build script * Clang format fixes on checked files (compat Cpp11 instead of Cpp03) * Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial) * Drop mingw cmake generated files and add them to gitignore
* LINT fix & check all files with clang-formatLoic Blot2017-05-22
| | | | Seems the diff mode doesn't work well, PR are detected as working whereas in master it's shown it's problematic (and really problematic). Use same check everywhere
* LINT: Switch whitelist check from egrep to awkLoïc Blot2017-04-06
| | | | Bonus: make CI happy with the last rules fix
* Fix clang-format binary selectionLoïc Blot2017-04-06
| | | | Also fix spaces to tabs
* Move LINT process in dedicated shell & fixLoic Blot2017-04-06
Move lint to dedicated shell permit to use it from your shell easily to check what is wrong Also fix recent regressions in code style