Skip to content

Commit

Permalink
added test task
Browse files Browse the repository at this point in the history
  • Loading branch information
CHH committed Jan 2, 2012
1 parent fec362b commit 0b9e169
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
phpunit.xml
vendor/.composer
vendor/bin/
9 changes: 9 additions & 0 deletions bob_config.php
Expand Up @@ -59,6 +59,15 @@
unset($phar);
});

desc("Runs Bob's test suite");
task("test", function($task) {
if (!file_exists("phpunit.xml")) {
copy("phpunit.xml.dist", "phpunit.xml");
}

`phpunit`;
});

desc('Takes an environment variable PREFIX and writes a `bob` executable
to $PREFIX/bin/bob. PREFIX defaults to "/usr/local".');
task('install', array('dist'), function($task) {
Expand Down
File renamed without changes.

0 comments on commit 0b9e169

Please sign in to comment.