summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-15 13:02:34 +0200
committeremkael <emkael@tlen.pl>2017-06-15 13:02:34 +0200
commit4a619fbc9da66be8ad4e8b1ef45d22b5118d9d71 (patch)
treedd801ae58db1b9d4ac12852a9e8664ebdf95864a
parente5913200a9f566d841b09a40b050e69dce518b2d (diff)
Removing leftover, old build script
-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