mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-29 06:01:22 +01:00
9 lines
312 B
Batchfile
9 lines
312 B
Batchfile
|
@echo on
|
||
|
set LOCAL_DIR=%~dp0
|
||
|
set LOCAL_DIR=%LOCAL_DIR:~0,-1%
|
||
|
if "%~1"=="" (set "SOURCE=..\..\css") else (set "SOURCE=%~1")
|
||
|
|
||
|
echo Optimizing css with yuicompressor
|
||
|
forfiles /p %SOURCE% /s /m "*.css" /c "cmd /c echo processing @path && java -jar %LOCAL_DIR%\yuicompressor-2.4.8.jar @path -o @fname.min.css"
|
||
|
|
||
|
pause
|