Make builds fail again when there are Vint warnings.
This commit is contained in:
parent
e293e0b5ab
commit
cd00a18c3a
3
Makefile
3
Makefile
@ -1,3 +1,4 @@
|
|||||||
|
SHELL := /usr/bin/env bash
|
||||||
IMAGE ?= w0rp/ale
|
IMAGE ?= w0rp/ale
|
||||||
CURRENT_IMAGE_ID = 107e4efc4267
|
CURRENT_IMAGE_ID = 107e4efc4267
|
||||||
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
|
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
|
||||||
@ -25,7 +26,9 @@ test: test-setup
|
|||||||
echo '========================================'; \
|
echo '========================================'; \
|
||||||
echo 'Vint warnings/errors follow:'; \
|
echo 'Vint warnings/errors follow:'; \
|
||||||
echo; \
|
echo; \
|
||||||
|
set -o pipefail; \
|
||||||
docker run -a stdout $(DOCKER_FLAGS) vint -s /testplugin | sed s:^/testplugin/:: || EXIT=$$?; \
|
docker run -a stdout $(DOCKER_FLAGS) vint -s /testplugin | sed s:^/testplugin/:: || EXIT=$$?; \
|
||||||
|
set +o pipefail; \
|
||||||
echo; \
|
echo; \
|
||||||
echo; \
|
echo; \
|
||||||
exit $$EXIT;
|
exit $$EXIT;
|
||||||
|
Loading…
Reference in New Issue
Block a user