Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (17 sloc) 0.588 kB
#!/usr/bin/env php
<?php
$stderr = fopen('php://stderr', 'w');
require __DIR__ . '/Packager/packager.php';
$executable = array_shift($argv);
$package = __DIR__;
$pkg = new Packager($package);
fwrite($stderr, "\nPackager is building $package\n\n");
fwrite($stderr, "Included Components:\n");
$files = (empty($argv)) ? $pkg->get_all_files() : $pkg->components_to_files($argv);
foreach ($files as $file){
fwrite($stderr, "- $file: [" . implode(", ", $pkg->get_file_provides($file)) . "]\n");
}
fwrite($stderr, "\n");
echo $pkg->build_from_components($argv);
fclose($stderr);
?>
Jump to Line
Something went wrong with that request. Please try again.