diff --git a/automation/images/all_image_optimization.bat b/automation/images/all_image_optimization.bat deleted file mode 100644 index 386c624..0000000 --- a/automation/images/all_image_optimization.bat +++ /dev/null @@ -1,43 +0,0 @@ -@echo off - -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -set SOURCE=%~1 - -:LOOP -if "%~1"=="" GOTO END -if /I "%~1"=="-d" set "SOURCE=..\..\img" -if /I "%~1"=="-jtran" GOTO JPEGTRAN -if /I "%~1"=="-pout" GOTO PNGOUT -if /I "%~1"=="-optip" GOTO OPTIPNG -if /I "%~1"=="-pquant" GOTO PNGQUANT -if /I "%~1"=="-gsicle" GOTO GIFSICLE -if /I "%~1"=="-svgo" GOTO SVGO -SHIFT & GOTO LOOP - -:JPEGTRAN -call %LOCAL_DIR%\jpegtran.bat "%SOURCE%" -SHIFT & GOTO LOOP - -:PNGOUT -call %LOCAL_DIR%\pngout.bat "%SOURCE%" -SHIFT & GOTO LOOP - -:OPTIPNG -call %LOCAL_DIR%\optipng.bat "%SOURCE%" -SHIFT & GOTO LOOP - -:PNGQUANT -call %LOCAL_DIR%\pngquant.bat "%SOURCE%" -SHIFT & GOTO LOOP - -:GIFSICLE -call %LOCAL_DIR%\gifsicle.bat "%SOURCE%" -SHIFT & GOTO LOOP - -:SVGO -call %LOCAL_DIR%\svgo.bat "%SOURCE%" -SHIFT & GOTO LOOP - -:END -pause \ No newline at end of file diff --git a/automation/images/gifsicle.bat b/automation/images/gifsicle.bat deleted file mode 100644 index 7fd7efc..0000000 --- a/automation/images/gifsicle.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1") - -echo Optimizing GIF with gifsicle -forfiles /p %SOURCE% /s /m "*.gif" /c "cmd /c echo processing @path && %LOCAL_DIR%\gifsicle.exe -b -O3 @path" - -pause \ No newline at end of file diff --git a/automation/images/gifsicle.exe b/automation/images/gifsicle.exe deleted file mode 100644 index 8fdba77..0000000 Binary files a/automation/images/gifsicle.exe and /dev/null differ diff --git a/automation/images/jpegtran.bat b/automation/images/jpegtran.bat deleted file mode 100644 index 37573ca..0000000 --- a/automation/images/jpegtran.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1") - -echo Optimizing JPEG with jpegtran -forfiles /p %SOURCE% /s /m "*.jpg" /c "cmd /c echo processing @path && %LOCAL_DIR%\jpegtran.exe -optimize -progressive -copy none -outfile @path @path" - -pause \ No newline at end of file diff --git a/automation/images/jpegtran.exe b/automation/images/jpegtran.exe deleted file mode 100644 index c4b3333..0000000 Binary files a/automation/images/jpegtran.exe and /dev/null differ diff --git a/automation/images/optipng.bat b/automation/images/optipng.bat deleted file mode 100644 index 3ea98f0..0000000 --- a/automation/images/optipng.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1") - -echo Optimizing PNG with optipng -forfiles /p %SOURCE% /s /m "*.png" /c "cmd /c echo processing @path && %LOCAL_DIR%\optipng.exe -force -o7 @path" - -pause \ No newline at end of file diff --git a/automation/images/optipng.exe b/automation/images/optipng.exe deleted file mode 100644 index 81cff3c..0000000 Binary files a/automation/images/optipng.exe and /dev/null differ diff --git a/automation/images/pngout.bat b/automation/images/pngout.bat deleted file mode 100644 index 3d5e606..0000000 --- a/automation/images/pngout.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1") - -echo Optimizing PNG with pngout -forfiles /p %SOURCE% /s /m "*.png" /c "cmd /c echo processing @path && %LOCAL_DIR%\pngout.exe @path" - -pause \ No newline at end of file diff --git a/automation/images/pngout.exe b/automation/images/pngout.exe deleted file mode 100644 index 0a0d7d3..0000000 Binary files a/automation/images/pngout.exe and /dev/null differ diff --git a/automation/images/pngquant.bat b/automation/images/pngquant.bat deleted file mode 100644 index c532f29..0000000 --- a/automation/images/pngquant.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1") - -echo Optimizing PNG with pngquant -forfiles /p %SOURCE% /s /m "*.png" /c "cmd /c echo processing @path && %LOCAL_DIR%\pngquant.exe --skip-if-larger --force --ext .png @path" - -pause \ No newline at end of file diff --git a/automation/images/pngquant.exe b/automation/images/pngquant.exe deleted file mode 100644 index 5661428..0000000 Binary files a/automation/images/pngquant.exe and /dev/null differ diff --git a/automation/images/svgo.bat b/automation/images/svgo.bat deleted file mode 100644 index 58d89fa..0000000 --- a/automation/images/svgo.bat +++ /dev/null @@ -1,7 +0,0 @@ -@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 \ No newline at end of file diff --git a/automation/minifying/minify_js.bat b/automation/minifying/minify_js.bat deleted file mode 100644 index 8370779..0000000 --- a/automation/minifying/minify_js.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -if "%~1"=="" (set "SOURCE=..\..\js") else (set "SOURCE=%~1") - -echo Optimizing js with yuicompressor -forfiles /p %SOURCE% /s /m "*.js" /c "cmd /c echo processing @path && java -jar %LOCAL_DIR%\yuicompressor-2.4.8.jar @path -o @fname.min.js" - -pause \ No newline at end of file diff --git a/automation/minifying/minify_js.sh b/automation/minifying/minify_js.sh deleted file mode 100755 index 9323806..0000000 --- a/automation/minifying/minify_js.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -if [ "$#" -ne 1 ]; then - FILES="../../js"; -else - FILES=$1; -fi - - -for f in $FILES/*.js; -do - if [[ $f != *".min"* ]]; then - echo "Processing $f ..." - echo "java -jar yuicompressor-2.4.8.jar $f -o ${f%.js}.min.js" - java -jar yuicompressor-2.4.8.jar $f -o ${f%.js}.min.js - fi -done \ No newline at end of file diff --git a/automation/minifying/minify_scripts_js.bat b/automation/minifying/minify_scripts_js.bat deleted file mode 100644 index aae3c87..0000000 --- a/automation/minifying/minify_scripts_js.bat +++ /dev/null @@ -1,10 +0,0 @@ -@echo on -set LOCAL_DIR=%~dp0 -set LOCAL_DIR=%LOCAL_DIR:~0,-1% -set "SOURCE=..\..\js" - -echo Optimizing scripts.js to scripts.min.js -cd %SOURCE% -java -jar %LOCAL_DIR%\yuicompressor-2.4.8.jar scripts.js -o scripts.min.js - -pause \ No newline at end of file diff --git a/automation/minifying/minify_scripts_js.sh b/automation/minifying/minify_scripts_js.sh deleted file mode 100755 index 00b8534..0000000 --- a/automation/minifying/minify_scripts_js.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -echo "Optimizing scripts.js to scripts.min.js" -java -jar yuicompressor-2.4.8.jar ../../js/scripts.js -o ../../js/scripts.min.js \ No newline at end of file diff --git a/automation/minifying/yuicompressor-2.4.8.jar b/automation/minifying/yuicompressor-2.4.8.jar deleted file mode 100644 index a1cf0a0..0000000 Binary files a/automation/minifying/yuicompressor-2.4.8.jar and /dev/null differ