added rule to check that script name is canonical card name
parent
9179dc001c
commit
1af776ae2d
5
Makefile
5
Makefile
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue