Skip to content

Commit

Permalink
Merge pull request Baystation12#26882 from PsiOmegaDelta/190902-StayI…
Browse files Browse the repository at this point in the history
…nYourLayer

Add test to prevent future manual layer edits
  • Loading branch information
afterthought2 authored Sep 2, 2019
2 parents dee4810 + cbd3cc5 commit aec6c0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ function run_code_tests {
shopt -s globstar
run_test "check travis contains all maps" "scripts/validateTravisContainsAllMaps.sh"
run_test_fail "maps contain no step_[xy]" "grep 'step_[xy]' maps/**/*.dmm"
run_test_fail "maps contain no layer adjustments" "grep 'layer = ' maps/**/*.dmm"
run_test_fail "ensure nanoui templates unique" "find nano/templates/ -type f -exec md5sum {} + | sort | uniq -D -w 32 | grep nano"
run_test_fail "no invalid spans" "grep -En \"<\s*span\s+class\s*=\s*('[^'>]+|[^'>]+')\s*>\" **/*.dm"
run_test "code quality checks" "test/check-paths.sh"
Expand Down

0 comments on commit aec6c0d

Please sign in to comment.