Skip to content

Commit ab2da38

Browse files
committed
Move to rebar3
1 parent 2834fb1 commit ab2da38

File tree

8 files changed

+11
-33
lines changed

8 files changed

+11
-33
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ ebin/*.app
33
*.beam
44
*~
55
deps
6-
*.so
6+
*.so
7+
_build

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: compile xref eunit clean doc check make deps test
22

3-
REBAR=./rebar
3+
REBAR=./rebar3
44

55
all: compile
66

@@ -18,11 +18,11 @@ deps:
1818
compile:
1919
@$(REBAR) compile
2020

21-
xref: compile
21+
xref:
2222
@$(REBAR) xref
2323

24-
test: compile xref
25-
@./rebar eunit
24+
test:
25+
@$(REBAR) eunit
2626

2727
clean:
2828
@$(REBAR) clean

rebar

-148 KB
Binary file not shown.

rebar.config.script

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

rebar.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[].

rebar3

1.07 MB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
%% limitations under the License.
1717
%%
1818

19-
-module(msgpack_ext_example_tests).
19+
-module(msgpack_ext_tests).
2020

2121
-compile(export_all).
2222

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
%%
1818
%% Created : 26 Apr 2011 by UENISHI Kota <[email protected]>
1919

20-
-module(msgpack_test).
20+
-module(msgpack_tests).
2121

2222
-import(msgpack, [pack/2, unpack/2, pack/1, unpack/1]).
2323

@@ -172,7 +172,8 @@ issue_27_test_() ->
172172

173173
string_test() ->
174174
{ok, CWD} = file:get_cwd(),
175-
Path = CWD ++ "/../test/utf8.txt",
175+
Path = CWD ++ "/test/utf8.txt",
176+
%% ?debugVal(Path),
176177
{ok, UnicodeBin} = file:read_file(Path),
177178
String = unicode:characters_to_list(UnicodeBin),
178179
MsgpackStringBin = msgpack:pack(String),

0 commit comments

Comments
 (0)