add rule to check that model classes do not refer to ui classes

master
melvinzhang 2017-05-15 19:37:56 +08:00
parent f6ad5cbda8
commit 7dbecd61e2
1 changed files with 3 additions and 0 deletions

View File

@ -658,6 +658,9 @@ check_no_extra_space:
check_no_status:
grep "status" -r release/Magarena/scripts | ${NO_OUTPUT}
check_model_ui:
grep "magic.ui" -r src/magic/model | ${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; \