mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 19:35:33 +01:00
fix(run): local tasks override non-local tasks
This commit is contained in:
parent
08e81c5e16
commit
fbfd751621
4 changed files with 12 additions and 12 deletions
|
@ -4,9 +4,6 @@
|
|||
|
||||
set -eu
|
||||
|
||||
# Include any local tasks.
|
||||
source run.local || true
|
||||
|
||||
# Disable Git hooks.
|
||||
function git-hooks:off {
|
||||
git config --unset core.hooksPath
|
||||
|
@ -26,6 +23,9 @@ function help {
|
|||
printf "\nExtended help:\n Each task has comments for general usage\n"
|
||||
}
|
||||
|
||||
# Include any local tasks.
|
||||
source run.local || true
|
||||
|
||||
TIMEFORMAT=$'\nTask completed in %3lR'
|
||||
time "${@:-help}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue