check that implemented cards have no status property

master
melvinzhang 2017-04-23 08:32:25 +08:00
parent fc52f013fd
commit fea9130431
1 changed files with 5 additions and 1 deletions

View File

@ -537,7 +537,8 @@ checks: \
check_mana_or_combat \
check_color_or_cost \
check_tap_tap \
check_no_extra_space
check_no_extra_space \
check_no_status
check_property_alignment:
grep "^[^ ][^=]\+$$" -r release/Magarena/scripts/*.txt | grep -v requires | grep -v mana_or | grep -v hidden | grep -v overlay | grep -v '#' | ${NO_OUTPUT}
@ -654,6 +655,9 @@ check_no_extra_space:
grep "^[[:space:]]" -r resources/magic/data/sets | ${NO_OUTPUT}
grep "[[:space:]]$$" -r resources/magic/data/sets | ${NO_OUTPUT}
check_no_status:
grep "status" -r release/Magarena/scripts | ${NO_OUTPUT}
crash.txt: $(wildcard *.log)
for i in `grep "^Excep" -l $^`; do \
tail -n +`grep -n "random seed" $$i | tail -1 | cut -d':' -f1` $$i; \