build(run): split commands over multiple lines
This commit is contained in:
parent
6401594548
commit
282348b30b
9
run
9
run
|
@ -47,9 +47,14 @@ function task:help {
|
|||
function task:test {
|
||||
# Run PHPUnit tests.
|
||||
if [[ $APP_BUILD == "dynamic" ]]; then
|
||||
docker container run --rm -t -v $PWD:/app --entrypoint phpunit ${DOCKER_TAG} "${@}"
|
||||
docker container run --rm -t \
|
||||
-v $PWD:/app \
|
||||
--entrypoint phpunit \
|
||||
${DOCKER_TAG} "${@}"
|
||||
elif [[ $APP_BUILD == "static" ]]; then
|
||||
docker container run --rm -t --entrypoint phpunit ${DOCKER_TAG} "${@}"
|
||||
docker container run --rm -t \
|
||||
--entrypoint phpunit \
|
||||
${DOCKER_TAG} "${@}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue