cost/color/type should appear at start of line to avoid matching given_color

master
melvinzhang 2016-01-06 10:01:44 +08:00
parent 50ddf63c9a
commit ff1293b986
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ check_mana_or_combat:
# all cards except lands should have either color, or cost, or both
check_color_or_cost:
diff \
<(grep "cost=\|color=\|type.*Land" -r release/Magarena/scripts/*.txt -l) \
<(grep "^\(cost=\|color=\|type.*Land\)" -r release/Magarena/scripts/*.txt -l) \
<(ls release/Magarena/scripts/*.txt | sort)
crash.txt: $(wildcard *.log)