add support for local run tasks

This commit is contained in:
ducklet 2021-02-26 18:57:00 +01:00
parent 045de1df0b
commit df4da0997a
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
*.pyc
*.local

3
run
View file

@ -11,4 +11,7 @@ shift
set -x
if [ -f "$RUN_DIR"/scripts/.local/"$task" ]; then
exec "$RUN_DIR"/scripts/.local/"$task" "$@"
fi
exec "$RUN_DIR"/scripts/"$task" "$@"