feat(run): include any local tasks

This commit is contained in:
Oliver Davies 2023-10-19 22:51:30 +02:00
parent 7c95164fee
commit 08e81c5e16
4 changed files with 12 additions and 0 deletions

View file

@ -8,6 +8,9 @@ set -eu
PATH="$PATH:./node_modules/.bin"
# Include any local tasks.
source run.local || true
{% if not isFlake %}
# 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.

View file

@ -4,6 +4,9 @@
set -eu
# Include any local tasks.
source run.local || true
# Run automated tests as part of the Continuous Integration (CI) pipeline.
function ci:test {
lint:dockerfile

View file

@ -9,6 +9,9 @@ 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.

View file

@ -4,6 +4,9 @@
set -eu
# Include any local tasks.
source run.local || true
# Disable Git hooks.
function git-hooks:off {
git config --unset core.hooksPath