From bb5750df13979d62fab27448362a1ed78642a0b7 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 31 Jul 2020 11:52:42 -0300 Subject: [PATCH] Added test for config files to the Makefile Config files in the root of the repo makes some tests to fail. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c82a7458..6718719b 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,10 @@ CWD := $(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))) USER_ID=$(shell id -u) GROUP_ID=$(shell id -g) +ifneq ("$(wildcard *.yaml)","") + $(error Move away any config file) +endif + deb: perl debian/make_postinst.pl > debian/postinst chmod +x debian/postinst