build(run): add test task

This commit is contained in:
Oliver Davies 2023-11-22 21:46:26 +00:00
parent e9d5c4ea6f
commit 9b360be240
2 changed files with 6 additions and 0 deletions

5
run
View file

@ -42,5 +42,10 @@ function help {
printf "\nExtended help:\n Each task has comments for general usage\n"
}
function test {
phpunit "${@}"
}
TIMEFORMAT=$'\nTask completed in %3lR'
time "${@:-help}"