Skip to content

Commit

Permalink
Move report tool to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
nohponex committed May 25, 2016
1 parent cb75214 commit 7abf996
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tools/generate-report.php → bin/testphase-report
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@

$testDir = str_replace('//', '/', $path . '/'. $subDir);

var_dump($testDir);

if (!file_exists($testDir)) {
throw new Exception('Testphase directory not found');
}
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@
"start=\"file://\";end=\"doc/index.html\"; echo \"\nOpen $start$(pwd)/$end\" in browser..."
],
"run": "php ./bin/testphase -d ./tests/tests -b ./tests/tests/Bootstrap.php --show-globals --verbose",
"report": "./tools/generate-report.php --dir ./tests/tests/ --out ./tests/report"
"report": "php ./bin/testphase-report --dir ./tests/tests/ --out ./tests/report"
},
"bin": [
"bin/testphase"
"bin/testphase",
"bin/testphase-report"
]
}

0 comments on commit 7abf996

Please sign in to comment.