aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2020-03-17 17:24:58 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2020-03-17 17:28:22 +0100
commitecdc723c96e0a92fdda3a754edb0302cdc2de9eb (patch)
tree96be54346acd262286a47fbda5b8781f95565190 /Makefile
parentda5b6722c9402aa26cda174ecddfc5e2a76985f6 (diff)
downloadg-ecdc723c96e0a92fdda3a754edb0302cdc2de9eb.tar.gz
g-ecdc723c96e0a92fdda3a754edb0302cdc2de9eb.zip
Rebumped the whole project so it's better looking
I've also added the `git-validation` tool into the test suite. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
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