Skip to content

Commit 389d43a

Browse files
authored
Merge pull request #29 from basho/develop-3.0-292
Update for OTP 22
2 parents 18ed572 + 475cbc4 commit 389d43a

File tree

3 files changed

+14
-73
lines changed

3 files changed

+14
-73
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: erlang
2-
notifications:
3-
webhooks: http://basho-engbot.herokuapp.com/travis?key=74319455557abd99a9de585cf48bc99577cbac1c
4-
52
otp_release:
6-
- R15B01
7-
- R15B
8-
- R14B04
9-
- R14B03
3+
- 20.3.8
4+
- 21.3
5+
- 22.3
6+
script:
7+
- chmod u+x rebar3
8+
- ./rebar3 do upgrade, compile, xref, dialyzer, eunit

rebar.config

Lines changed: 8 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -24,48 +24,11 @@
2424
warn_export_all,
2525
warn_export_vars,
2626
warn_obsolete_guard,
27-
warn_unused_import
27+
warn_unused_import,
28+
warnings_as_errors
2829
]}.
2930

3031
{profiles, [
31-
{check, [
32-
{dialyzer, [
33-
{warnings, [
34-
error_handling,
35-
race_conditions,
36-
unknown,
37-
unmatched_returns
38-
]}
39-
]},
40-
{erl_opts, [
41-
debug_info,
42-
warnings_as_errors,
43-
{d, 'BASHO_CHECK'}
44-
]},
45-
{xref_checks, [
46-
deprecated_function_calls,
47-
deprecated_functions,
48-
locals_not_used,
49-
undefined_function_calls,
50-
undefined_functions
51-
]}
52-
]},
53-
{docs, [
54-
{edoc_opts, [
55-
{app_default, "http://www.erlang.org/doc/man"},
56-
{preprocess, true},
57-
{macros, [
58-
{'EDOC', true},
59-
{'BASHO_DOCS', true}
60-
]}
61-
]}
62-
]},
63-
{prod, [
64-
{erl_opts, [
65-
warnings_as_errors,
66-
{d, 'BASHO_PROD'}
67-
]}
68-
]},
6932
{test, [
7033
{cover_enabled, true},
7134
{erl_opts, [
@@ -76,33 +39,12 @@
7639
warnings_as_errors,
7740
{d, 'BASHO_TEST'}
7841
]}
79-
]},
80-
{validate, [
81-
{erl_opts, [
82-
strong_validation,
83-
no_auto_import,
84-
warn_bif_clash,
85-
warn_deprecated_function,
86-
warn_deprecated_type,
87-
warn_export_all,
88-
warn_export_vars,
89-
warn_missing_spec,
90-
warn_missing_spec_all,
91-
warn_obsolete_guard,
92-
warn_shadow_vars,
93-
warn_untyped_record,
94-
warn_unused_function,
95-
warn_unused_import,
96-
warn_unused_record,
97-
warn_unused_vars,
98-
{d, 'BASHO_VALIDATE'}
99-
]}
10042
]}
10143
]}.
10244

103-
{plugins, [
104-
{basho_rebar_tools,
105-
{git, "https://github.com/basho/basho_rebar_tools.git",
106-
{branch, "master"} }}
107-
]}.
108-
45+
{xref_checks,[
46+
undefined_function_calls,
47+
undefined_functions,
48+
locals_not_used,
49+
deprecated_function_calls,
50+
deprecated_functions]}.

rebar3

820 KB
Binary file not shown.

0 commit comments

Comments
 (0)