added rule to update cards/legacy_banned.txt

master
melvin 2012-06-20 21:09:21 +08:00
parent 7a21474c58
commit 4658a9bf24
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,9 @@ warnings.txt: $(MAG)
-sourcepath src \
build
cards/legacy_banned.txt:
curl https://www.wizards.com/Magic/TCG/Resources.aspx?x=judge/resources/sfrlegacy | grep nodec | grep -o ">[^<]*</a" | sed 's/>//g;s/<\/a//;' > $@
release/Magarena/mods/legacy_cube.txt: cards/existing.txt cards/legacy_banned.txt
join -v1 -t"|" <(sort $(word 1,$^)) <(sort $(word 2,$^)) > $@

View File

@ -28,6 +28,7 @@ Mana Crypt
Mana Drain
Mana Vault
Memory Jar
Mental Misstep
Mind Twist
Mind's Desire
Mishra's Workshop