X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=make_static.PL;h=77ab59f894e590dfbadf9bb3626a970f94c0abd3;hb=refs%2Fheads%2Fnewmc;hp=1e338addd1dc2d2657a6031d3cd71faa983325c2;hpb=c13e110a3f07e2aef0892f64207f20dcd01ebdd6;p=plack-app-gruntmaster.git diff --git a/make_static.PL b/make_static.PL index 1e338ad..77ab59f 100644 --- a/make_static.PL +++ b/make_static.PL @@ -17,7 +17,9 @@ mkdir 'static/logos'; sub gzip_file { my ($file) = @_; + my $brotli = which 'brotli'; my $zopfli = which 'zopfli'; + system $brotli => '--input', $file, '--output', "$file.br" if $brotli; system $zopfli => $file if $zopfli; gzip $file => "$file.gz", -Level => 9, Minimal => 1 unless $zopfli; } @@ -60,7 +62,7 @@ sub read_css_into_blocks { \@blocks } -my $default_theme = 'slate'; +my $default_theme = 'cyborg'; sub theme_prefix { my ($theme, $decl, $default) = @_;