mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-22 20:58:22 +00:00
build(run): add test
task
This commit is contained in:
parent
e9d5c4ea6f
commit
9b360be240
|
@ -8,6 +8,7 @@
|
||||||
* Add missing validation rules to the `Configuration` DTO object.
|
* 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 project type is a valid type.
|
||||||
* Add a test to ensure the web server is a valid type.
|
* Add a test to ensure the web server is a valid type.
|
||||||
|
* Add a `test` task to `run` script.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
5
run
5
run
|
@ -42,5 +42,10 @@ function help {
|
||||||
printf "\nExtended help:\n Each task has comments for general usage\n"
|
printf "\nExtended help:\n Each task has comments for general usage\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function test {
|
||||||
|
phpunit "${@}"
|
||||||
|
}
|
||||||
|
|
||||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||||
time "${@:-help}"
|
time "${@:-help}"
|
||||||
|
|
Loading…
Reference in a new issue