Update phar with latest version and build

This adds a new dependencies check that makes sure that `mbstring` is
properly installed.
This commit is contained in:
Craig Davis 2014-03-24 08:12:27 -05:00
parent 7103ee343e
commit 15f28357ca
5 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,7 @@ at the [blog post for the project][blog].
## Help ## Help
``` ```
Markdown Resume Generator version 2.0.1 by Craig Davis Markdown Resume Generator version 2.0.2 by Craig Davis
Usage: Usage:
[options] command [arguments] [options] command [arguments]

Binary file not shown.

View File

@ -8,7 +8,7 @@
"html5" "html5"
], ],
"license": "MIT", "license": "MIT",
"version": "2.0.1", "version": "2.0.2",
"selfupdatepath": "://github.com/there4/markdown-resume/raw/master/bin/md2resume", "selfupdatepath": "://github.com/there4/markdown-resume/raw/master/bin/md2resume",
"selfupdateversion": "://github.com/there4/markdown-resume/raw/master/version", "selfupdateversion": "://github.com/there4/markdown-resume/raw/master/version",
"authors": [ "authors": [

View File

@ -68,7 +68,8 @@ class Resume extends Application
return parent::getLongVersion().' by <comment>Craig Davis</comment>'; return parent::getLongVersion().' by <comment>Craig Davis</comment>';
} }
public function checkDependencies() { public function checkDependencies()
{
$output = new ConsoleOutput(); $output = new ConsoleOutput();
if (!extension_loaded('mbstring')) { if (!extension_loaded('mbstring')) {
$output->writeln( $output->writeln(
@ -76,7 +77,7 @@ class Resume extends Application
"More help: http://www.php.net/manual/en/mbstring.installation.php\n", "More help: http://www.php.net/manual/en/mbstring.installation.php\n",
$this->outputFormat $this->outputFormat
); );
exit(1); exit(1);
} }
} }

View File

@ -1 +1 @@
2.0.1 2.0.2