Skip to content

Commit

Permalink
use new init-scripts. refs #28
Browse files Browse the repository at this point in the history
  • Loading branch information
indeyets committed Sep 10, 2012
1 parent 6d23b98 commit 0f6ecfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pakefile.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ function run_compact($task, $args)

// core-files
$files = array(
$_root.'/lib/pake/init.php',
$_root.'/lib/pake/autoload.php',
$_root.'/lib/pake/cli_init.php',
$_root.'/lib/pake/pakeFunction.php',
);

Expand Down Expand Up @@ -145,7 +146,7 @@ function run_phar()
{
$finder = pakeFinder::type('any')
->ignore_version_control()
->name('phar-stub.php', '*.class.php', 'init.php', 'pakeFunction.php', 'sfYaml*.php');
->name('phar-stub.php', '*.class.php', 'autoload.php', 'cli_init.php', 'pakeFunction.php', 'sfYaml*.php');

pakeArchive::createPharArchive($finder, dirname(__FILE__), 'pake.phar', 'phar-stub.php', null, true);
}
Expand Down
3 changes: 2 additions & 1 deletion phar-stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
$phar_name = dirname(__FILE__);
define('PAKE_DIR', $phar_name.'/lib/pake');

require PAKE_DIR.'/init.php';
require PAKE_DIR.'/autoload.php';
require PAKE_DIR.'/cli_init.php';

$retval = pakeApp::get_instance()->run();

Expand Down

0 comments on commit 0f6ecfe

Please sign in to comment.