Add helper svg processing script

- Removes colons from inkcape svg export property names
This commit is contained in:
Dana Lambert 2021-12-06 10:27:35 +13:00
parent 2c2a362b9a
commit 75e834d8ab
2 changed files with 28 additions and 0 deletions

4
dev
View file

@ -133,6 +133,10 @@ cmd_renew_certifcate() {
cmd_start_production
}
cmd_process_svg_files() {
docker run -v $PWD/frontend/src/assets/:/app/assets -v $PWD/process_svg.py:/app/process_svg.py -w /app python:3.8-slim-bullseye python process_svg.py
}
# Run the command
cmd="$1"
"cmd_$cmd" "$@"