[js-embedded-discovery COMMIT] in /trunk: build/build.bat build/build.sh doc/RELEASE-NOTES.txt

noreply at shibboleth.net noreply at shibboleth.net
Fri Jan 9 06:05:20 EST 2015


Author: rdw
Date: Fri Jan  9 06:05:18 2015
New Revision: 121

URL: http://svn.shibboleth.net/view/js-embedded-discovery?rev=121&view=rev
Log:
EDS-59 Minify the CSS for the EDS

Modified:
    trunk/build/build.bat
    trunk/build/build.sh
    trunk/doc/RELEASE-NOTES.txt

Modified: trunk/build/build.bat
URL: http://svn.shibboleth.net/view/js-embedded-discovery/trunk/build/build.bat?rev=121&r1=120&r2=121&view=diff
==============================================================================
--- trunk/build/build.bat (original)
+++ trunk/build/build.bat Fri Jan  9 06:05:18 2015
@@ -28,14 +28,17 @@
 java -jar yuicompressor-2.4.8.jar -o ..\target\idpselect.js %TEMP%\idpselect.js
 del/q %TEMP%\idpselect.js
 
+rem minify CSS
+java -jar yuicompressor-2.4.8.jar --type css -o ..\target\idpselect.css ..\src\resources\idpselect.css
+
 rem Copy other files
 
 copy ..\LICENSE.txt ..\target
 copy ..\doc\*.txt ..\target
 copy ..\src\resources\index.html ..\target
 copy ..\src\javascript\idpselect_config.js ..\target
-copy ..\src\resources\idpselect.css ..\target
 mkdir ..\target\nonminimised\
+copy ..\src\resources\idpselect.css ..\target\nonminimised\
 copy ..\src\javascript\json2.js ..\target\nonminimised\
 copy ..\src\javascript\typeahead.js ..\target\nonminimised\
 copy ..\src\javascript\idpselect.js ..\target\nonminimised\

Modified: trunk/build/build.sh
URL: http://svn.shibboleth.net/view/js-embedded-discovery/trunk/build/build.sh?rev=121&r1=120&r2=121&view=diff
==============================================================================
--- trunk/build/build.sh (original)
+++ trunk/build/build.sh Fri Jan  9 06:05:18 2015
@@ -41,14 +41,17 @@
 
 cat ../src/javascript/json2.js ../src/javascript/typeahead.js ../src/javascript/idpselect.js | java -jar yuicompressor-2.4.8.jar -o ../target/idpselect.js --type js
 
+# Build CSS
+java -jar yuicompressor-2.4.8.jar -o ../target/idpselect.js --type css ../src/resources/idpselect.css
+
 # copy other files
 
 cp ../LICENSE.txt ../target
 cp ../doc/*.txt ../target
 cp ../src/resources/index.html ../target
 cp ../src/javascript/idpselect_config.js ../target
-cp ../src/resources/idpselect.css ../target
 mkdir ../target/nonminimised
+cp ../src/resources/idpselect.css ../target/nonminimised
 cp ../src/javascript/json2.js ../target/nonminimised
 cp ../src/javascript/typeahead.js ../target/nonminimised
 cp ../src/javascript/idpselect.js ../target/nonminimised

Modified: trunk/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/js-embedded-discovery/trunk/doc/RELEASE-NOTES.txt?rev=121&r1=120&r2=121&view=diff
==============================================================================
--- trunk/doc/RELEASE-NOTES.txt (original)
+++ trunk/doc/RELEASE-NOTES.txt Fri Jan  9 06:05:18 2015
@@ -12,6 +12,7 @@
 EDS-52 Deduplicate by entityId prior to displaying choices.
 EDS-28 Make EDS shorter if no preselected IdPs have logos
 EDS-48 Be more specific about the image size.
+EDS-59 Minify the CSS for the EDS
 
 Changed in V1.0.3
 =============================================



More information about the commits mailing list