summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-07 13:12:02 +0200
committeremkael <emkael@tlen.pl>2017-06-07 13:57:20 +0200
commit62b4ca23e0ac41653a35ddbe95ed6262a5f49f97 (patch)
treea74975f9c8dbd34c85ebb731167707bf3774a192 /bin
parent35548990b2e148f083da44c6ceb5c6630af8bc2f (diff)
Separate test dataset no longer needed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build.sh4
-rwxr-xr-xbin/make-test.sh2
-rwxr-xr-xbin/make.sh2
3 files changed, 2 insertions, 6 deletions
diff --git a/bin/build.sh b/bin/build.sh
index 14b4f98..901bb41 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -1,10 +1,8 @@
#!/bin/bash
CONFIG=$1
DIR=$2
-rm config/dates.json
-ln -s $CONFIG config/dates.json
PREV_DATE=""
-cat config/dates.json |
+cat $CONFIG |
jq '.[] | .date, .url, .index, .name' |
xargs -n4 |
while read DATE URL INDEX NAME
diff --git a/bin/make-test.sh b/bin/make-test.sh
deleted file mode 100755
index 49961ec..0000000
--- a/bin/make-test.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-bin/build.sh test-dates.json http/test
diff --git a/bin/make.sh b/bin/make.sh
index 55f5e77..4bc8749 100755
--- a/bin/make.sh
+++ b/bin/make.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-bin/build.sh prod-dates.json http
+bin/build.sh config/dates.json http