Don't hide makefile errors in pipes (#848)
Follow up to #846 - make sure that if an error happens inside a target whose output is piped, we stop.
This commit is contained in:
parent
29973669ae
commit
0d0d9c6b89
4
Makefile
4
Makefile
@ -1,3 +1,7 @@
|
|||||||
|
# Ensure that errors don't hide inside pipes
|
||||||
|
SHELL = /bin/bash
|
||||||
|
.SHELLFLAGS = -o pipefail -c
|
||||||
|
|
||||||
# Options to run with docker and docker-compose - ensure the container is destroyed on exit
|
# Options to run with docker and docker-compose - ensure the container is destroyed on exit
|
||||||
# Containers run as the current user rather than root (so that created files are not root-owned)
|
# Containers run as the current user rather than root (so that created files are not root-owned)
|
||||||
DC_OPTS?=--rm -u $(shell id -u):$(shell id -g)
|
DC_OPTS?=--rm -u $(shell id -u):$(shell id -g)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user