aboutsummaryrefslogtreecommitdiffstats
path: root/core/core.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-07 22:27:09 +0300
committerLoïc Hoguin <[email protected]>2015-05-07 22:27:09 +0300
commitf38e6e5833a251602468567b32a123f862569db0 (patch)
tree9a64c72b65c1f6d04f5e206bf82865cc3cb17689 /core/core.mk
parent030041dc06f80371aecc929e43fdf870d1f09973 (diff)
downloaderlang.mk-f38e6e5833a251602468567b32a123f862569db0.tar.gz
erlang.mk-f38e6e5833a251602468567b32a123f862569db0.tar.bz2
erlang.mk-f38e6e5833a251602468567b32a123f862569db0.zip
Add a check target
Compiles, runs tests and runs all sorts of analysis like Dialyzer.
Diffstat (limited to 'core/core.mk')
-rw-r--r--core/core.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/core.mk b/core/core.mk
index 0de45fd..5cb0b54 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -12,7 +12,7 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.PHONY: all deps app rel docs install-docs tests clean distclean help erlang-mk
+.PHONY: all deps app rel docs install-docs tests check clean distclean help erlang-mk
ERLANG_MK_VERSION = 1
@@ -46,6 +46,8 @@ all:: deps
rel::
@echo -n
+check:: clean app tests
+
clean:: clean-crashdump
clean-crashdump:
@@ -70,6 +72,7 @@ help::
" docs Build the documentation for this project" \
" install-docs Install the man pages for this project" \
" tests Run the tests for this project" \
+ " check Compile and run all tests and analysis for this project" \
" clean Delete temporary and output files from most targets" \
" distclean Delete all temporary and output files" \
" help Display this help and exit" \