added rule to consolidate crash logs

master
melvin 2012-09-30 11:20:52 +08:00
parent 4a8a35ce43
commit 4d8a981939
1 changed files with 5 additions and 0 deletions

View File

@ -423,3 +423,8 @@ check_requires_card_code:
check_literals:
grep "\"" src/magic/card/* | awk -f scripts/check_literals.awk
crash.txt: $(wildcard *.log)
for i in `grep "^Excep" -l $^`; do \
tail -n +`grep -n "random seed" $$i | tail -1 | cut -d':' -f1` $$i; \
done > $@