fix(run): local tasks override non-local tasks

This commit is contained in:
Oliver Davies 2023-10-19 23:07:38 +02:00
parent 08e81c5e16
commit fbfd751621
4 changed files with 12 additions and 12 deletions

View file

@ -9,9 +9,6 @@ set -eu
PATH="$PATH:./node_modules/.bin"
# Include any local tasks.
source run.local || true
{% if isDocker %}
# If we're running in CI we need to disable TTY allocation for docker compose
# commands that enable it by default, such as exec and run.
@ -123,6 +120,9 @@ function _run {
}
{% endif %}
# Include any local tasks.
source run.local || true
TIMEFORMAT=$'\nTask completed in %3lR'
time "${@:-help}"