Skip to content
This repository
tag: v1.55.19
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 39 lines (27 sloc) 0.787 kb
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
ROOT = .
DIALYZER = dialyzer
REBAR = $(ROOT)/bin/rebar

DIRS = lib/whistle-1.0.0 lib/whistle_couch-1.0.0 lib/whistle_amqp-1.0.0 lib/whistle_number_manager-1.0.0 ecallmgr whistle_apps

all: app

app:
@$(REBAR) compile

deps:
@$(REBAR) get-deps

clean:
@$(REBAR) clean
rm -f test/*.beam
rm -f erl_crash.dump

test: clean app eunit

eunit:
@$(REBAR) eunit skip_deps=true

build-plt:
@$(DIALYZER) --build_plt --output_plt $(ROOT)/.platform_dialyzer.plt \
--apps erts kernel stdlib sasl inets crypto public_key ssl

dialyze:
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
                --plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs

docs:
@$(REBAR) doc skip_deps=true

update:
./bin/git_update.sh
Something went wrong with that request. Please try again.