diff options
Diffstat (limited to 'buildscripts/jsbuilder/build.php')
-rw-r--r-- | buildscripts/jsbuilder/build.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/buildscripts/jsbuilder/build.php b/buildscripts/jsbuilder/build.php index 86dc40f1..6689d2c6 100644 --- a/buildscripts/jsbuilder/build.php +++ b/buildscripts/jsbuilder/build.php @@ -137,6 +137,7 @@ $requestedLibs=array(); for($i=1;$i<$argc;++$i)
$requestedLibs[]=$argv[$i].'.js';
+$builds = 0;
/**
* loop through all target files and build them one by one
*/
@@ -161,6 +162,10 @@ foreach($libraries as $libFile => $sourceFiles) $command=sprintf(COMPRESS_COMMAND,$tempFile,$libFile);
system($command);
@unlink($tempFile);
+ $builds++;
}
-
+if($builds > 0)
+ echo "\nJavascript build complete, {$builds} file(s) compressed.";
+else
+ echo "No files to build.";
?>
\ No newline at end of file |