add rule to check for overlap between scripts and scripts_missing

master
melvin 2014-07-08 15:27:30 +08:00
parent 1f9fa469c9
commit 83fb7475f1
1 changed files with 3 additions and 0 deletions

View File

@ -479,6 +479,9 @@ checks: \
check_rarity \
check_decks
check_missing:
join <(ls -1 release/Magarena/scripts | sort) <(ls -1 release/Magarena/scripts_missing | sort) | ${NO_OUTPUT}
# check rarity using meta.xml
check_rarity: scripts/fix_rarity.scala cards/meta.xml
cat release/Magarena/scripts/*.txt | scala $^ | grep -v "not be L" | grep -v "Windseeker Centaur" | ${NO_OUTPUT}