From 5dcf9ec5430d68f091a01e91e129a85966953597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mangano-Tarumi?= Date: Sat, 27 Oct 2018 20:30:11 -0400 Subject: [PATCH] add make check --- CONTRIBUTING.md | 3 +++ Makefile | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 61e60ec..0cdc358 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,6 +18,9 @@ Stay objective in your changes. Adding a feature or fixing a bug is a clear improvement, but stylistic changes like renaming a function or moving a few braces around won't help the project move forward. +You should check that your changes don't break the test suite by running +`make check` + Following these practices is important to keep the history clean, and to allow for better code reviews. diff --git a/Makefile b/Makefile index a682072..d51c975 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,8 @@ uninstall: clean: rm -f opustags opustags.1.gz + +check: opustags + prove + +.PHONY: all man install uninstall clean check