Skip to content
Browse files

Update rebar (2.1.0-pre-4-gbf35ec9)

  • Loading branch information...
1 parent 09f18ab commit f8472a0509c1cf460ef88ef68b95ac0c125c07c7 @norton norton committed
Showing with 9 additions and 33 deletions.
  1. +6 −0 .travis.yml
  2. BIN rebar
  3. +3 −33 rebar.config
View
6 .travis.yml
@@ -0,0 +1,6 @@
+language: erlang
+otp_release:
+ - R15B02
+ - R14B04
+ - R13B04
+script: "./rebar compile && ./rebar xref && ./rebar skip_deps=true eunit"
View
BIN rebar
Binary file not shown.
View
36 rebar.config
@@ -1,50 +1,20 @@
%%% -*- mode: erlang -*-
-%% Require OTP version R13B04, R14, or R15
{require_otp_vsn, "R13B04|R14|R15"}.
-%% Depends
-{deps, [{qc, "", {git, "git://github.com/norton/qc.git"}}
- , {meck, "", {git, "git://github.com/norton/meck.git"}}
- , {edown, "", {git, "git://github.com/norton/edown.git"}}
- , {asciiedoc, "", {git, "git://github.com/norton/asciiedoc.git"}}
- ]}.
-
-%% Erlang files to compile before the rest.
{erl_first_files, ["src/contract_lex.erl"
, "src/contract_yecc.erl"
, "src/ubf_utils.erl"
, "src/contract_parser.erl"
, "src/ubf_types_builtin.erl"
]}.
+{erl_opts, [warnings_as_errors, {platform_define, "R13B04|R14|R15A", 'old_callbacks'}]}.
-%% Erlang compiler options
-{erl_opts, [warnings_as_errors
- , {platform_define, "R13B04|R14|R15A", 'old_callbacks'}
- ]}.
-
-%% Erlang edoc options for asciiedown_doclet
-{edoc_opts, [{doclet, asciiedown_doclet}
- , {app_default, "http://www.erlang.org/doc/man"}
- , {new, true}
- , {packages, false}
- , {stylesheet, ""} % don't copy stylesheet.css
- , {image, ""} % don't copy erlang.png
- , {top_level_readme, {"./README.md", "https://github.com/ubf/ubf"}}
- ]}.
-
-%% Erlang edoc options for asciiedoc_doclet
-%% {edoc_opts, [{doclet, asciiedoc_doclet}
-%% , {app_default, "http://www.erlang.org/doc/man"}
-%% , {new, true}
-%% , {packages, false}
-%% ]}.
+{xref_checks, [undefined_function_calls, deprecated_function_calls]}.
-%% Test Erlang files to compile before the rest.
{eunit_first_files, ["src/contract_lex.erl"
, "src/contract_yecc.erl"
, "test/eunit/types_plugin.erl"
]}.
-%% EUnit options
-{eunit_opts, [verbose]}.
+{deps, [{qc, "", {git, "git://github.com/norton/qc.git"}}]}.

0 comments on commit f8472a0

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