Skip to content

Commit

Permalink
✨ improve script to update svg tester configs (#3928)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann authored Sep 5, 2024
1 parent bd00cab commit e16309e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devTools/svgTester/update-configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit e16309e

Please sign in to comment.