]> source.dussan.org Git - vaadin-framework.git/commitdiff
Include compressed themes (#18332)
authorArtur Signell <artur@vaadin.com>
Tue, 23 Jun 2015 20:57:27 +0000 (23:57 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 23 Jun 2015 21:19:22 +0000 (00:19 +0300)
Change-Id: Icf10cbcf402f3427d63521b616428c041455ea32

themes/build.xml

index 487376ebdf2dc1064d1e3175789f0daf6fc3c416..0bb167855feb6f6a536d112c8b6d79b4bce15b0e 100644 (file)
             <jvmarg value="-Djava.awt.headless=true" />
         </java>
 
+        <!-- Compress theme to serve using gzip -->
+        <gzip src="${theme.result.dir}/${theme}/styles.css"
+            destfile="${theme.result.dir}/${theme}/styles.css.gz" />
     </target>