mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-19 13:45:05 +00:00

* Remove log statements * Add feature gates to functions in path.rs * Fix infinite parsing loop and add new test * License tweaks * Remove trailing zero in whole number floats * Flatten visual-tests directory * Code review * Clean up printlines * Add error handling to path parsing --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
10 lines
324 B
Bash
10 lines
324 B
Bash
INKSCAPE_CMD=inkscape
|
|
OPS=(union difference intersection exclusion division fracture)
|
|
|
|
for dir in */; do
|
|
for op in "${OPS[@]}"; do
|
|
if [ ! -e "$dir/$op.svg" ]; then
|
|
$INKSCAPE_CMD --actions="select-all; path-$op; export-filename:$dir/$op.svg; export-plain-svg; export-do; file-close" "$dir/original.svg"
|
|
fi
|
|
done
|
|
done
|