From 4a619fbc9da66be8ad4e8b1ef45d22b5118d9d71 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 15 Jun 2017 13:02:34 +0200 Subject: Removing leftover, old build script --- bin/build.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 bin/build.sh (limited to 'bin') 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 -- cgit v1.2.3