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