mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-22 20:58:22 +00:00
fix: warning if run.local isn't preset
This commit is contained in:
parent
175d63950a
commit
61d2ca0d76
|
@ -104,7 +104,7 @@ function _run {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Include any local tasks.
|
# Include any local tasks.
|
||||||
source run.local || true
|
[[ -e run.local ]] && source run.local
|
||||||
|
|
||||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||||
time "${@:-help}"
|
time "${@:-help}"
|
||||||
|
|
|
@ -131,7 +131,7 @@ function _run {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include any local tasks.
|
# Include any local tasks.
|
||||||
source run.local || true
|
[[ -e run.local ]] && source run.local
|
||||||
|
|
||||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||||
time "${@:-help}"
|
time "${@:-help}"
|
||||||
|
|
|
@ -121,7 +121,7 @@ function _run {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Include any local tasks.
|
# Include any local tasks.
|
||||||
source run.local || true
|
[[ -e run.local ]] && source run.local
|
||||||
|
|
||||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||||
time "${@:-help}"
|
time "${@:-help}"
|
||||||
|
|
|
@ -24,7 +24,7 @@ function help {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include any local tasks.
|
# Include any local tasks.
|
||||||
source run.local || true
|
[[ -e run.local ]] && source run.local
|
||||||
|
|
||||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||||
time "${@:-help}"
|
time "${@:-help}"
|
||||||
|
|
Loading…
Reference in a new issue