added rule to check that script name is canonical card name

master
melvin 2012-10-06 10:01:02 +08:00
parent 9179dc001c
commit 1af776ae2d
1 changed files with 5 additions and 0 deletions

View File

@ -408,6 +408,11 @@ check_requires_card_code:
check_literals:
grep "\"" src/magic/card/* | awk -f scripts/check_literals.awk
check_scripts:
diff \
<(ls -1 release/Magarena/scripts | sort) \
<(grep "name=" -r release/Magarena/scripts/ | sort | sed 's/.*name=//;s/[^A-Za-z0-9]/_/g;s/$$/.txt/')
crash.txt: $(wildcard *.log)
for i in `grep "^Excep" -l $^`; do \
tail -n +`grep -n "random seed" $$i | tail -1 | cut -d':' -f1` $$i; \