Permalink
Browse files

move `stub.php` -> `bin/phake`

  • Loading branch information...
jaz303 committed Apr 14, 2012
1 parent b3058f3 commit 5be3f14c1f7900f7f70498bedb95d020c4d42098
Showing with 6 additions and 6 deletions.
  1. +5 −5 stub.php → bin/phake
  2. +1 −1 build.php
View
10 stub.php → bin/phake 100644 → 100755
@@ -1,10 +1,10 @@
#!/usr/bin/env php
<?php
-require dirname(__FILE__) . '/lib/phake.php';
-require dirname(__FILE__) . '/lib/utils.php';
-require dirname(__FILE__) . '/lib/global_helpers.php';
-require dirname(__FILE__) . '/lib/option_parser.php';
-require dirname(__FILE__) . '/lib/builder.php';
+require dirname(__FILE__) . '/../lib/phake.php';
+require dirname(__FILE__) . '/../lib/utils.php';
+require dirname(__FILE__) . '/../lib/global_helpers.php';
+require dirname(__FILE__) . '/../lib/option_parser.php';
+require dirname(__FILE__) . '/../lib/builder.php';
phake\Builder::$global = new phake\Builder;
View
@@ -5,7 +5,7 @@
$phar->setStub("#!/usr/bin/env php
<?php
Phar::mapPhar('phake.phar');
-require_once 'phar://phake.phar/stub.php';
+require_once 'phar://phake.phar/bin/phake';
__HALT_COMPILER();
?>");
rename('phake.phar', 'phake');

0 comments on commit 5be3f14

Please sign in to comment.