-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
28 lines (19 loc) · 1.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PROJECT = ecoveralls
PROJECT_VERSION = 0.1
DEPS = jsx
dep_jsx = git https://github.com/talentdeficit/jsx v2.4.0
TEST_DEPS = nifoc_ct_helper
dep_nifoc_ct_helper = git https://github.com/nifoc/nifoc_ct_helper master
ERLC_OPTS ?= -Werror +debug_info +warn_bif_clash +warn_deprecated_function +warn_deprecated_type \
+warn_export_all +warn_export_vars +warn_shadow_vars +warn_obsolete_guard +warn_unused_import \
+warn_unused_function +warn_unused_record +warn_unused_vars +warnings_as_errors
TEST_ERLC_OPTS ?= +debug_info +warn_bif_clash +warn_deprecated_function +warn_deprecated_type \
+warn_export_all +warn_export_vars +warn_shadow_vars +warn_obsolete_guard +warn_unused_import \
+warn_unused_function +warn_unused_record +warn_unused_vars +warnings_as_errors
PLT_APPS = asn1 crypto public_key ssl inets
CT_SUITES = eunit cover
CT_OPTS = -ct_hooks nifoc_ct_hook [] -cover ./test/cover.spec
include erlang.mk
coverage-report: $(shell ls -1rt `find logs -type f -name \*.coverdata 2>/dev/null` | tail -n1)
$(gen_verbose) erl -noshell -pa ebin deps/*/ebin -eval 'ecoveralls:travis_ci("$?"), init:stop()'
.PHONY: coverage-report