Skip to content

Commit

Permalink
One more fix to the Burgomaster packager file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremeamia committed Sep 17, 2014
1 parent 35afdfb commit af60cdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/packager.php
Expand Up @@ -4,6 +4,7 @@
$stageDirectory = __DIR__ . '/artifacts/staging';
$projectRoot = __DIR__ . '/../';
$burgomaster = new \Burgomaster($stageDirectory, $projectRoot);
$autoloaderFilename = 'aws-autoloader.php';

$metaFiles = ['README.md', 'LICENSE.md', 'NOTICE.md', 'CHANGELOG.md'];
foreach ($metaFiles as $file) {
Expand All @@ -18,9 +19,9 @@
$burgomaster->recursiveCopy('vendor/monolog/monolog/src/Monolog', 'Monolog');
$burgomaster->recursiveCopy('vendor/symfony/event-dispatcher/Symfony', 'Symfony');

$burgomaster->createAutoloader(array(), 'aws-autoloader.php');
$burgomaster->createAutoloader(array(), $autoloaderFilename);
$burgomaster->createZip(__DIR__ . '/artifacts/aws.zip');
$burgomaster->createPhar(__DIR__ . '/artifacts/aws.phar');
$burgomaster->createPhar(__DIR__ . '/artifacts/aws.phar', null, $autoloaderFilename);
$burgomaster->startSection('test_phar');
$burgomaster->debug('Phar output: '
. $burgomaster->exec('php ' . __DIR__ . '/test_phar.php'));
Expand Down

0 comments on commit af60cdb

Please sign in to comment.