Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add covertool to dependencies and rebar plugins

Coverage XML file goes to .eunit/ directory
  • Loading branch information...
commit 8cfa822a79d76dccb2a06c95b91fa05b94c9a601 1 parent 94eca5c
Shunichi Shinohara authored
Showing with 12 additions and 2 deletions.
  1. +5 −1 Makefile
  2. +7 −1 rebar.config
View
6 Makefile
@@ -1,11 +1,15 @@
+.PHONY: all deps compile xref eunit clean distclean qc build
+
+# covertool has warnigs, so compile first
all: deps
+ cd deps/covertool && ../../rebar compile
@./rebar compile
make xref
make eunit
deps:
- @./rebar get-deps
@./rebar update-deps
+ @./rebar get-deps
compile:
@./rebar compile skip_deps=true
View
8 rebar.config
@@ -10,6 +10,9 @@
{cover_enabled, true}.
+{plugins, [rebar_covertool]}.
+{covertool_eunit, ".eunit/eunit.coverage.xml"}.
+
{edoc_opts, [{dialyzer_specs, all},
{report_missing_type, true},
{report_type_mismatch, true},
@@ -21,5 +24,8 @@
{deps,
[
{proper,
- ".*", {git, "git://github.com/manopapad/proper.git", {branch, "master"}}}
+ ".*", {git, "git://github.com/manopapad/proper.git", {branch, "master"}}},
+
+ {covertool,
+ ".*", {git, "https://github.com/idubrov/covertool.git", {branch, "master"}}}
]}.

0 comments on commit 8cfa822

Please sign in to comment.
Something went wrong with that request. Please try again.