1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-15 09:15:17 +00:00

Update rebar (2.2.0-61-g97751ec)

This commit is contained in:
Joseph Wayne Norton
2014-05-11 17:47:18 +09:00
parent 7a774619d5
commit 39727d4f69
5 changed files with 9 additions and 11 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
.eqc-info
.eunit/
.qc/
.rebar/
deps/
ebin/
erl_crash.dump

View File

@@ -1,5 +1,6 @@
language: erlang
script: "make clean compile xref test"
otp_release:
- 17.0
- R16B03-1
- R15B03

View File

@@ -1,8 +1,8 @@
REBAR?=./rebar
.PHONY: all clean deps compile xref doc test eunit eqc proper triq \
compile-for-eunit compile-for-eqc compile-for-proper compile-for-triq
.PHONY: all clean deps compile xref doc test eunit eqc proper \
compile-for-eunit compile-for-eqc compile-for-proper
all: compile
@@ -10,7 +10,7 @@ deps:
$(REBAR) get-deps
clean:
$(REBAR) clean
$(REBAR) clean -r
compile:
$(REBAR) compile
@@ -34,9 +34,6 @@ eqc: compile-for-eqc
proper: compile-for-proper
@echo "rebar does not implement a 'proper' command" && false
triq: compile-for-triq
$(REBAR) triq skip_deps=true
compile-for-eunit:
$(REBAR) compile eunit compile_only=true
@@ -45,6 +42,3 @@ compile-for-eqc:
compile-for-proper:
$(REBAR) -D QC -D QC_PROPER compile eqc compile_only=true
compile-for-triq:
$(REBAR) -D QC -D QC_TRIQ compile triq compile_only=true

BIN
rebar vendored

Binary file not shown.

View File

@@ -8,11 +8,13 @@
, "src/contract_parser.erl"
, "src/ubf_types_builtin.erl"
]}.
{erl_opts, [warnings_as_errors, {platform_define, "R15A", 'old_callbacks'}]}.
{erl_opts, [warnings_as_errors, warn_shadow_vars, warn_obsolete_guard,
{platform_define, "R15A", 'old_callbacks'}]}.
{xrl_opts, [warnings_as_errors]}.
{yrl_opts, [warnings_as_errors]}.
{xref_checks, [undefined_function_calls, deprecated_function_calls]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions]}.
{eunit_first_files, ["test/eunit/types_plugin.erl"]}.