From ecdc723c96e0a92fdda3a754edb0302cdc2de9eb Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 17 Mar 2020 17:24:58 +0100 Subject: Rebumped the whole project so it's better looking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I've also added the `git-validation` tool into the test suite. Signed-off-by: Miquel Sabaté Solà --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f9874d6..01ec0ab 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,15 @@ -test :: +.PHONY: test +test: git-validation unit-test + +.PHONY: unit-test +unit-test: @docker build -t mssola/g:latest . @docker run --rm mssola/g:latest bash test.sh + +.PHONY: git-validation +git-validation: +ifeq (, $(shell which git-validation 2> /dev/null)) + @echo "You don't have 'git-validation' installed, consider installing it (see the CONTRIBUTING.org file)." +else + @git-validation -q -range da5b6722c940..HEAD -travis-pr-only=false +endif -- cgit v1.2.3