Add initial html command processing

This command is going to be quite similar to the pdf command, and we’ll
need to abstract and extend this soon.
This commit is contained in:
Craig Davis
2014-01-12 09:55:31 -07:00
parent 8f43dc5c29
commit 842fae2b6f
4 changed files with 71 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ function run_phar()
function run_sniff()
{
echo " * Checking files for PSR2\n";
passthru("phpcs -p --standard=PSR2 ./src/ ./working.php");
passthru("phpcs -p --standard=PSR2 ./src/ ./resume.php");
}
function run_fixer()
@@ -87,7 +87,7 @@ function run_readme()
{
echo " * Updating README documentation\n";
$readme = file("README.md");
$help = explode("\n", shell_exec("php ./working.php list --no-interaction"));
$help = explode("\n", shell_exec("php ./resume2.php list --no-interaction"));
$helpStart = $helpEnd = 0;
foreach ($readme as $lineNumber => $line) {