Skip to content

Commit 50b546f

Browse files
committed
Add coverize submodule, update Makefile accordingly.
1 parent dcb2d10 commit 50b546f

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "lib/coverize"]
2+
path = lib/coverize
3+
url = git://github.com/mmullis/coverize.git

Makefile

+12-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@ clean:
1111
rm -rf ./test/ebin/*.*
1212

1313
test: compile
14-
erl -noshell -pa ebin -pa test/ebin -s test_suite test -s init stop
14+
erl -noshell \
15+
-pa ebin \
16+
-pa test/ebin \
17+
-s test_suite test \
18+
-s init stop
1519

1620
coverage: compile
21+
make -C lib/coverize
1722
mkdir -p coverage
18-
erl -noshell -pa ebin -pa test/ebin -s eunit_helper run_cover -s init stop
23+
erl -noshell \
24+
-pa ebin \
25+
-pa test/ebin \
26+
-pa lib/coverize/ebin \
27+
-s eunit_helper run_cover \
28+
-s init stop

lib/coverize

Submodule coverize added at cfafb11

0 commit comments

Comments
 (0)