aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_indev.cpp
Commit message (Expand)AuthorAge
* Remove no virtual dtor warnings, make MapgenParams contain actual NoiseParamskwolekr2013-05-19
* Enhance caves for mgv7, add ravineskwolekr2013-04-27
* Tune finite liquids, indev huge cavesproller2013-04-25
* Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to Mapg...kwolekr2013-04-21
* Don't flow finite liquid into an unloaded chunkproller2013-04-06
* Add Ore infrastructure and l_register_ore()kwolekr2013-03-24
* Mapgen indev: float islands, larger far biomesproller2013-03-24
* Some minor cleanups from the last commitkwolekr2013-03-16
* initial mapgen indev version with farscale feature and huge cavesproller2013-03-16
do d=$(diff -u "$f" <(${CLANG_FORMAT} "$f") || true) if ! [ -z "$d" ]; then whitelisted=$(awk '$1 == "'$f'" { print 1 }' "$CLANG_FORMAT_WHITELIST") # If file is not whitelisted, mark a failure if [ -z ${whitelisted} ]; then errorcount=$((errorcount+1)) printf "The file %s is not compliant with the coding style" "$f" if [ ${errorcount} -gt 50 ]; then printf "\nToo many errors encountered previously, this diff is hidden.\n" else printf ":\n%s\n" "$d" fi fail=1 fi fi done if [ "$fail" = 1 ]; then echo "LINT reports failure." exit 1 fi echo "LINT OK" }