summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/build.sh b/bin/build.sh
deleted file mode 100755
index 065fcbb..0000000
--- a/bin/build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-CONFIG=$1
-DIR=$2
-PREV_DATE=""
-cat $CONFIG |
- jq '.[] | .date, .url, .index, .name' |
- xargs -n4 |
- while read DATE URL INDEX NAME
- do
- python ranking.py "$NAME" $INDEX $DATE $PREV_DATE > $DIR/$URL
- PREV_DATE=$DATE
- done
-find $DIR -maxdepth 1 -type f -name \*.html |
- while read FILE
- do
- python editions.py $FILE
- htmlmin $FILE $FILE.tmp
- mv $FILE.tmp $FILE
- done
-python players.py $DIR/players