diff options
author | emkael <emkael@tlen.pl> | 2017-06-07 13:12:02 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-06-07 13:57:20 +0200 |
commit | 62b4ca23e0ac41653a35ddbe95ed6262a5f49f97 (patch) | |
tree | a74975f9c8dbd34c85ebb731167707bf3774a192 /bin | |
parent | 35548990b2e148f083da44c6ceb5c6630af8bc2f (diff) |
Separate test dataset no longer needed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build.sh | 4 | ||||
-rwxr-xr-x | bin/make-test.sh | 2 | ||||
-rwxr-xr-x | bin/make.sh | 2 |
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 |