build(run): add Composer task

This commit is contained in:
Oliver Davies 2022-01-14 00:31:54 +00:00
parent c1606b4868
commit a2b363dfe1

8
run
View file

@ -15,6 +15,14 @@ function ci:test {
test "${@}"
}
function composer {
# Run Composer commands.
docker container run --rm -it \
-v $(pwd):/app \
--entrypoint composer \
${DOCKER_TAG} "${@}"
}
function help {
printf "%s <task> [args]\n\nTasks:\n" "${0}"