]> 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)
committerHenri Sara <hesara@vaadin.com>
Sat, 4 Jul 2015 10:22:03 +0000 (13:22 +0300)
Change-Id: I9a52034205e86923f70f4a317d3b1505dbfff97c

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>