Catch pipefail errors in Makefile
https://stackoverflow.com/questions/33925523/how-to-set-pipefail-in-a-makefile
This commit is contained in:
parent
361037f272
commit
a19a6f9acc
1
Makefile
1
Makefile
@ -3,6 +3,7 @@ BUILD_DIR = ./dist/dive_linux_amd64
|
|||||||
BUILD_PATH = $(BUILD_DIR)/$(BIN)
|
BUILD_PATH = $(BUILD_DIR)/$(BIN)
|
||||||
PWD := ${CURDIR}
|
PWD := ${CURDIR}
|
||||||
PRODUCTION_REGISTRY = docker.io
|
PRODUCTION_REGISTRY = docker.io
|
||||||
|
SHELL = /bin/bash -o pipefail
|
||||||
TEST_IMAGE = busybox:latest
|
TEST_IMAGE = busybox:latest
|
||||||
|
|
||||||
all: gofmt clean build
|
all: gofmt clean build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user