mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-29 14:11:21 +01:00
7 lines
192 B
Batchfile
7 lines
192 B
Batchfile
|
@echo on
|
||
|
if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1")
|
||
|
|
||
|
echo Optimizing SVG with svgo
|
||
|
forfiles /p %SOURCE% /s /m "*.svg" /c "cmd /c echo processing @path && svgo @path"
|
||
|
|
||
|
pause
|