From 2d10a16acf5f3cf9e0dca1c48b23515b18a7b447 Mon Sep 17 00:00:00 2001 From: sophiamersmann Date: Thu, 5 Sep 2024 17:47:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20improve=20script=20to=20update=20sv?= =?UTF-8?q?g=20tester=20configs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devTools/svgTester/update-configs.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devTools/svgTester/update-configs.sh b/devTools/svgTester/update-configs.sh index c33266abbf9..6604fc59dc4 100755 --- a/devTools/svgTester/update-configs.sh +++ b/devTools/svgTester/update-configs.sh @@ -7,7 +7,8 @@ set -o pipefail # treats pipeline command as failed when one command in the pip SVGS_REPO=../owid-grapher-svgs CONFIGS_DIR=$SVGS_REPO/configs REFERENCES_DIR=$SVGS_REPO/svg -ALL_VIEWS_DIR=$SVGS_REPO/all-views/svg +ALL_VIEWS_DIR=$SVGS_REPO/all-views +ALL_VIEWS_SVG_DIR=$SVGS_REPO/all-views/svg CHART_IDS_FILE=$SVGS_REPO/most-viewed-charts.txt usage() { @@ -39,7 +40,7 @@ main() { -o $REFERENCES_DIR node itsJustJavascript/devTools/svgTester/export-graphs.js\ -i $CONFIGS_DIR\ - -o $ALL_VIEWS_DIR\ + -o $ALL_VIEWS_SVG_DIR\ -f $CHART_IDS_FILE\ --all-views }