build(run): add Composer task
This commit is contained in:
parent
c1606b4868
commit
a2b363dfe1
1 changed files with 8 additions and 0 deletions
8
run
8
run
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue