added rule to compute cards per set

master
melvin 2013-03-07 22:58:14 +08:00
parent 9e09a44423
commit b9b84fc11a
1 changed files with 5 additions and 0 deletions

View File

@ -494,3 +494,8 @@ fix_eol:
sed -i -e '$$a\' release/Magarena/**/*.txt
sed -i -e 's/\x0D$$//' release/Magarena/**/*.txt
sed -i -e '$$a\' src/**/*.java
cards_per_set.txt: cards/existing_tip_full.txt
cat <(grep -o ", [A-Z0-9]* [A-Z]" $^ | cut -d' ' -f2) \
<(grep -o "^[A-Z0-9]* [A-Z]" $^ | cut -d' ' -f1) |\
sort | uniq -c | sort -n > $@