]>
iEval git - gruntmaster-page.git/blob - make_static.PL
5 use CSS
::Minifier
::XS qw
//;
6 use JavaScript
::Minifier
::XS qw
//;
8 use File
::Slurp qw
/read_file write_file/;
14 $common_css .= read_file
$_ for <css
/*.css
>;
15 for (<css
/themes/*>) {
16 my ($theme) = m
,themes
/(.*)\
.css
,;
17 my $css = read_file
$_;
19 write_file
"static/css/$theme.css", CSS
::Minifier
::XS
::minify
$css;
23 $js .= read_file
$_ for <js
/*.js
>;
24 write_file
'static/js.js', JavaScript
::Minifier
::XS
::minify
$js;
This page took 0.052407 seconds and 4 git commands to generate.