include groovy scripts in fix_eol

master
melvin 2013-08-11 09:42:21 +08:00
parent 5411da342e
commit 253b8b0990
1 changed files with 4 additions and 5 deletions

View File

@ -529,11 +529,6 @@ grammar/CounterType: grammar/rules.txt
# remove a, each, that
# add poison
fix_eol:
sed -i -e '$$a\' release/Magarena/**/*.txt
sed -i -e 's/\x0D$$//' release/Magarena/**/*.txt
sed -i -e '$$a\' src/**/*.java
cards/cards_per_set.tsv: 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) \
@ -575,3 +570,7 @@ bytes_per_card:
reminder.txt: cards/cards.xml
grep 'reminder="[^"]*"' $^ -o | sed 's/reminder=//' | sort | uniq -c | sort -rn > $@
fix_eol:
sed -i -e '$$a\' release/Magarena/**/*.txt release/Magarena/**/*.groovy src/**/*.java
sed -i -e 's/\x0D$$//' release/Magarena/**/*.txt release/Magarena/**/*.groovy src/**/*.java