mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 19:05:33 +01:00
build(run): add test
task
This commit is contained in:
parent
e9d5c4ea6f
commit
9b360be240
2 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
* Add missing validation rules to the `Configuration` DTO object.
|
||||
* Add a test to ensure the project type is a valid type.
|
||||
* Add a test to ensure the web server is a valid type.
|
||||
* Add a `test` task to `run` script.
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
5
run
5
run
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue