forked from basho/riak_test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (30 loc) · 892 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
HEAD_REVISION ?= $(shell git describe --tags --exact-match HEAD 2>/dev/null)
.PHONY: deps
APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
xmerl webtool eunit syntax_tools compiler hipe mnesia public_key \
observer wx gs
PLT = $(HOME)/.riak-test_dialyzer_plt
REBAR=./rebar3
all: deps compile
$(REBAR) as test compile
$(REBAR) escriptize
mkdir -p ./ebin
cp ./_build/test/lib/riak_test/tests/*.beam ./ebin
deps:
$(if $(HEAD_REVISION),$(warning "Warning: you have checked out a tag ($(HEAD_REVISION)) and should use the locked-deps target"))
$(REBAR) get-deps
docsclean:
@rm -rf doc/*.png doc/*.html doc/*.css edoc-info
compile: deps
$(REBAR) compile
clean:
@$(REBAR) clean
distclean: clean
@rm -rf riak_test deps
quickbuild:
$(REBAR) compile
$(REBAR) escriptize
##################
# Dialyzer targets
##################
# include tools.mk