Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 5be3f14c1f7900f7f70498bedb95d020c4d42098 1 parent b3058f3
@jaz303 authored
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
2  build.php
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.