Skip to content

Commit

Permalink
Ensure the build directory exists when building the phar archive.
Browse files Browse the repository at this point in the history
  • Loading branch information
trq committed May 5, 2012
1 parent b748d80 commit e2592a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Phakefile
Expand Up @@ -13,6 +13,9 @@ group('dev', function() {

desc('Build the Phar archive');
task('build', 'tests', function($args) {
if (!is_dir('build')) {
mkdir('build');
}
chdir('lib');
$phar = new Phar('proem.phar');
$phar->buildFromDirectory('.');
Expand Down

0 comments on commit e2592a6

Please sign in to comment.