gzip_file 'static/js.js';
}
+my $sprite_mtime = -M 'static/logos.png' // 0;
+for (<logos/*>) {
+ if (!$sprite_mtime || $sprite_mtime > -M) {
+ make_sprite;
+ last
+ }
+}
+
my $css_mtime = -M 'static/css/slate.css' // 0;
for (<css/*>, <css/themes/*>) {
if (!$css_mtime || $css_mtime > -M) {
}
}
-my $sprite_mtime = -M 'static/logos.png' // 0;
-for (<logos/*>) {
- if (!$sprite_mtime || $sprite_mtime > -M) {
- make_sprite;
- last
- }
-}
-
package
Local::CSS::SpriteMaker;