]> iEval git - plack-app-gruntmaster.git/commitdiff
Regenerate sprite when logos change not when js changes
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 14 Mar 2015 14:09:53 +0000 (16:09 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 14 Mar 2015 14:09:53 +0000 (16:09 +0200)
make_static.PL

index 6ea5eb1478fe7dce4b2256a3cc2b3ccd9af2fe49..955502e3ad660a15a4d156eed7561a92c1230417 100644 (file)
@@ -75,7 +75,7 @@ for (<js/*>) {
 }
 
 my $sprite_mtime = -M 'static/logos.png' // 0;
-for (<js/*>) {
+for (<logos/*>) {
        if (!$sprite_mtime || $sprite_mtime > -M) {
                make_sprite;
                last
This page took 0.022755 seconds and 4 git commands to generate.