datamad2017/automation/images/svgo.bat
Vitaliy Zasadnyy 95607eea61 Initial commit
2014-07-28 22:27:01 +03:00

7 lines
No EOL
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