mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
feat(run): include any local tasks
This commit is contained in:
parent
7c95164fee
commit
08e81c5e16
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue