Don't add a new newline before __DATA__ (and remove the newlines
accumulated so far); create resources/min/ for temporary files (and add
it to .gitignore); fix a typo.
exit 1;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
__DATA__
WRFILE: jquery.jqplot.min.css
-Ressources files are collected from their respective download places as follow:
+Resources files are collected from their respective download places as follow:
jqPlot:
-------
`patch -r - -s -N resources/jquery.jqplot.js -i resources/patch-jquery.jqplot.js`;
# Generate all minified resources files
+mkdir "$RSC_DIR/min";
foreach my $f (@rsc_list) {
my $dest = $f;
$dest =~ s/\.(js|css)$/.min.$1/;
# Write script base to destination file
open(OUT, ">$DEST_TMP_FILE") or die "FATAL: can't write to file $DEST_TMP_FILE, $!\n";
print OUT $content;
-print OUT "\n__DATA__\n";
+print OUT "__DATA__\n";
# Append each minified resources file
foreach my $f (@min_rsc_list) {