Sha256: 6d35805f07a57986d91d91c63e10587bc9c4ae6f7c01ddd810310919b82fae98
Contents?: true
Size: 828 Bytes
Versions: 2
Compression:
Stored size: 828 Bytes
Contents
#!/usr/bin/env php <?php $stderr = fopen('php://stderr', 'w'); require dirname(__FILE__) . '/Packager/packager.php'; $executable = array_shift($argv); $package = dirname(__FILE__); $pkg = new Packager($package); fwrite($stderr, "Packager is building MooTools Core\n\n"); fwrite($stderr, "Included Components:\n"); $no_compat = false; foreach ($argv as $arg){ if ($arg == '-1.2compat'){ array_erase($argv, $arg); $no_compat = true; break; } } $files = (empty($argv)) ? $pkg->get_all_files() : $pkg->components_to_files($argv); $files = $pkg->complete_files($files); foreach ($files as $file){ fwrite($stderr, "- $file: [" . implode(", ", $pkg->get_file_provides($file)) . "]\n"); } $output = $pkg->build($files, array(), array(), ($no_compat) ? array("1.2compat") : array()); echo $output; fclose($stderr);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lsd_rails-0.1.6 | Packages/mootools-core/build |
lsd_rails-0.1.5 | Packages/mootools-core/build |