diff --git a/README.md b/README.md index cd6d72b..2904a47 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ at the [blog post for the project][blog]. php ./bin/resume.php --source resume/sample.md php ./bin/resume.php --source resume/sample.md --pdf -## Options +## Help + +## Examples Choose a template with the -t option. diff --git a/pakefile b/pakefile index 9f04f51..bfa0bad 100644 --- a/pakefile +++ b/pakefile @@ -40,7 +40,7 @@ function run_test() { function run_version() { $composer = json_decode(file_get_contents('composer.json')); - echo "\n Building FogBugz Command Line Client version " . $composer->version . "\n"; + echo "\n Building Markdown Resume Builder version " . $composer->version . "\n"; echo str_repeat("=", 80) . "\n"; } @@ -56,14 +56,14 @@ function run_lint() { function run_phar() { - echo " * Construction phar and moving to fb\n"; + echo " * Construction phar and moving to ./bin/md2resume\n"; $command = - 'rm -f fb && rm -f fb.phar &&' - . 'php -dphar.readonly=0 build/empir make fb.phar working.php . --exclude="' + 'rm -f ./bin/md2resume && rm -f ./bin/md2resume.phar &&' + . 'php -dphar.readonly=0 build/empir make ./bin/md2resume.phar working.php . --exclude="' . '*.git/*|*.gitignore|*test*|*Tests*|*.md|*/doc/*|*.lock|*token.txt|pakefile' . '|.*|build/*|*.markdown|*.phar|*LICENSE|*AUTHORS|*CHANGELOG|*.dist|*.tpl' - . '" && chmod a+x fb.phar' - . ' && mv fb.phar fb'; + . '" && chmod a+x ./bin/md2resume.phar' + . ' && mv ./bin/md2resume.phar ./bin/md2resume'; passthru($command); } @@ -77,9 +77,9 @@ function run_fixer() { echo "\n * Running php-cs-fixer\n"; passthru( - "php-cs-fixer fix ./working.php" - . " && php-cs-fixer fix ./src/FogBugz/Cli/" - . " && php-cs-fixer fix ./src/FogBugz/Command/" + "php-cs-fixer fix ./bin/resume2.php" + . " && php-cs-fixer fix ./src/Resume/Cli/" + . " && php-cs-fixer fix ./src/Resume/Command/" ); } @@ -109,7 +109,7 @@ function run_readme() } function run_mv() { - exec('cp ./fb ~/bin/fb'); + exec('cp ./bin/md2resume ~/bin/md2resume'); } /* End of pakefile */