mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +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 %}
|
||||
|
||||
# Include any local tasks.
|
||||
source run.local || true
|
||||
[[ -e run.local ]] && source run.local
|
||||
|
||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||
time "${@:-help}"
|
||||
|
|
|
@ -131,7 +131,7 @@ function _run {
|
|||
}
|
||||
|
||||
# Include any local tasks.
|
||||
source run.local || true
|
||||
[[ -e run.local ]] && source run.local
|
||||
|
||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||
time "${@:-help}"
|
||||
|
|
|
@ -121,7 +121,7 @@ function _run {
|
|||
{% endif %}
|
||||
|
||||
# Include any local tasks.
|
||||
source run.local || true
|
||||
[[ -e run.local ]] && source run.local
|
||||
|
||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||
time "${@:-help}"
|
||||
|
|
|
@ -24,7 +24,7 @@ function help {
|
|||
}
|
||||
|
||||
# Include any local tasks.
|
||||
source run.local || true
|
||||
[[ -e run.local ]] && source run.local
|
||||
|
||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||
time "${@:-help}"
|
||||
|
|
Loading…
Reference in a new issue