mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
fix(git-hooks): Set TTY
if using Docker
This commit is contained in:
parent
baaf3bf16b
commit
fecc65b655
|
@ -10,6 +10,7 @@
|
|||
|
||||
* The `pre-push` Git hook should use `./run test:commit` instead of `just test-commit` since `just` is no longer used.
|
||||
* Recursively merge `build.defaults.yaml` into the given configuration.
|
||||
* Set `TTY` in the `pre-push` Git hook so it can run if using Docker.
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -4,4 +4,8 @@
|
|||
|
||||
set -o errexit
|
||||
|
||||
{% if isDocker %}
|
||||
export TTY="-T"
|
||||
{% endif %}
|
||||
|
||||
./run test:commit
|
||||
|
|
Loading…
Reference in a new issue