Skip to content

Commit 5c20f65

Browse files
committed
Fix unit-test failures when ebin doesn't contain *.beam files
Signed-off-by: Peter Lemenkov <[email protected]>
1 parent c16c1a1 commit 5c20f65

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
REBAR ?= $(shell which rebar 2>/dev/null || which ./rebar)
22
REBAR_FLAGS ?=
33

4-
all:
4+
all: compile
5+
6+
compile:
57
$(REBAR) compile $(REBAR_FLAGS)
68

79
doc:
810
$(REBAR) doc $(REBAR_FLAGS)
911

10-
test:
12+
test: compile
1113
$(REBAR) eunit $(REBAR_FLAGS)
1214

1315
clean:

0 commit comments

Comments
 (0)