From 62b4ca23e0ac41653a35ddbe95ed6262a5f49f97 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 7 Jun 2017 13:12:02 +0200 Subject: Separate test dataset no longer needed --- bin/build.sh | 4 +--- bin/make-test.sh | 2 -- bin/make.sh | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100755 bin/make-test.sh (limited to 'bin') 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 -- cgit v1.2.3