Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (17 sloc) 0.474 kb
af3eab6 @tuncer Enhance make check (Inspired-by: Stavros Aronis)
tuncer authored
1 .PHONY: dialyzer_warnings xref_warnings
2
564b993 @dizzyd Add helper makefile; update bootstrap to always build w/ debug_info
dizzyd authored
3 all:
4 ./bootstrap
d6b79fb @dizzyd Add "clean" target
dizzyd authored
5
6 clean:
c2a5d28 @tuncer Add check target to Makefile
tuncer authored
7 @rm -rf rebar ebin/*.beam inttest/rt.work
8
9 debug:
af3eab6 @tuncer Enhance make check (Inspired-by: Stavros Aronis)
tuncer authored
10 @./bootstrap debug
11
12 check: debug xref dialyzer
13
14 xref: xref_warnings
15 @diff -U0 xref_reference xref_warnings
16
17 xref_warnings:
18 -@./rebar xref > xref_warnings
19
20 dialyzer: dialyzer_warnings
21 @diff -U0 dialyzer_reference dialyzer_warnings
c2a5d28 @tuncer Add check target to Makefile
tuncer authored
22
af3eab6 @tuncer Enhance make check (Inspired-by: Stavros Aronis)
tuncer authored
23 dialyzer_warnings:
24 -@dialyzer -q -n ebin -Wunmatched_returns -Werror_handling \
25 -Wrace_conditions > dialyzer_warnings
Something went wrong with that request. Please try again.