Skip to content

Commit 675912e

Browse files
committed
Merge pull request #64 from msgpack/rebar-config
More cleaner way to keep compatibility with rebar 2.x
2 parents 0ffd66b + ce2488c commit 675912e

4 files changed

Lines changed: 7 additions & 18 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ deps
66
*.so
77
_build
88
.rebar3
9+
.rebar

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,15 @@ xref:
1717
@$(REBAR) xref
1818

1919
test:
20-
@$(REBAR) eunit
20+
@$(REBAR) as test eunit eqc
2121

2222
clean:
2323
@$(REBAR) clean
2424

2525
dialyzer:
2626
@$(REBAR) dialyzer
2727

28-
check-all:
29-
@$(REBAR) eunit
30-
@$(REBAR) xref
31-
@$(REBAR) dialyzer
28+
check-all: test xref dialyzer
3229

3330
crosslang:
3431
@echo "do ERL_LIBS=../ before you make crosslang or fail"

rebar.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"src/msgpack_ext.erl"
1414
]}.
1515

16-
{plugins, [
17-
rebar3_eqc,
18-
rebar3_hex
19-
]}.
16+
{profiles,
17+
[{test,
18+
[{plugins, [rebar3_eqc]}]
19+
}]}.
2020

2121
%% {port_sources, ["c_src/*.c"]}.
2222
%% {port_env, [

rebar.config.script

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)