Skip to content

Commit

Permalink
change nem
Browse files Browse the repository at this point in the history
  • Loading branch information
easychen committed Sep 27, 2016
1 parent 8d654a1 commit 8f07578
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 32 deletions.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,11 @@
"replace": {
"codegyre/robo": "< 1.0"
}
,
"repositories": {
"packagist": {
"type": "composer",
"url": "https://packagist.phpcomposer.com"
}
}
}
57 changes: 27 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions robo
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ if (strpos(basename(__FILE__), 'phar')) {
require_once 'phar://robo.phar/vendor/autoload.php';
}
}
$_SERVER['CWD'] = getcwd();
if( file_exists( $_SERVER['HOME'].'/.mpm/RoboFile.php' ) )
{
$_SERVER['argv'][] = '--load-from';
$_SERVER['argv'][] = $_SERVER['HOME'].'/.mpm/RoboFile.php';
}
$runner = new \Robo\Runner();
$statusCode = $runner->execute($_SERVER['argv']);
exit($statusCode);
4 changes: 2 additions & 2 deletions src/Robo.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
class Robo
{
const APPLICATION_NAME = 'Robo';
const VERSION = '1.0.0-RC3';
const APPLICATION_NAME = 'MPM';
const VERSION = '0.1';

/**
* The currently active container object, or NULL if not initialized yet.
Expand Down

0 comments on commit 8f07578

Please sign in to comment.