add rule to compute bytes_per_card for each release

master
melvinzhang 2015-12-09 13:42:06 +08:00
parent 8267516edf
commit 75aee93ff1
1 changed files with 3 additions and 0 deletions

View File

@ -658,6 +658,9 @@ ai/benchmark.rnd:
exp/zermelo.tsv: $(wildcard exp/136*.log)
awk -f exp/extract_games.awk $^ | ./exp/whr.rb | tac > $@
bytes_per_card.txt:
for i in `seq 39 68`; do echo -n "1.$$i "; make bytes_per_card.1.$$i -s ; done > bytes_per_card.txt
bytes_per_card.%:
echo `git show $*:release/Magarena/scripts | tail -n+3 | sed 's/^/$*:release\/Magarena\/scripts\//' | git cat-file --batch | grep -v " blob " | sed 's/^[[:space:]]*//;/^$$/d' | wc -c` \
/ \