Skip to content

Commit

Permalink
KAZOO-929: start
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Jun 24, 2013
1 parent f7e37f0 commit 92e7a32
Show file tree
Hide file tree
Showing 3,980 changed files with 39,371 additions and 31,507 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 9 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
ROOT = .
DIALYZER = dialyzer
REBAR = $(ROOT)/bin/rebar

MAKEDIRS = lib/rabbitmq_server-2.8.6/Makefile \
lib/rabbitmq_client-2.8.6/Makefile \
lib/lager-2.0.0rc1/Makefile \
lib/*/Makefile \
ecallmgr/Makefile \
whistle_apps/Makefile

DIRS = $(ROOT)/lib/whistle-1.0.0 \
$(ROOT)/lib/whistle_amqp-1.0.0 \
$(ROOT)/ecallmgr \
$(ROOT)/whistle_apps
REBAR = $(ROOT)/utils/rebar/rebar

MAKEDIRS = deps/Makefile \
core/Makefile \
applications/Makefile

DIRS = $(ROOT)/core/whistle-1.0.0 \
$(ROOT)/core/whistle_amqp-1.0.0 \
$(ROOT)/core/whistle_apps-1.0.0

.PHONY: $(MAKEDIRS)

Expand Down
19 changes: 19 additions & 0 deletions applications/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ROOT = ../
REBAR = $(ROOT)/utils/rebar/rebar

MAKEDIRS = */Makefile

.PHONY: all compile clean $(MAKEDIRS)

all: compile

compile: ACTION = all
compile: $(MAKEDIRS)
$(REBAR) compile

clean: ACTION = clean
clean: $(MAKEDIRS)
$(REBAR) clean

$(MAKEDIRS):
$(MAKE) -C $(@D) $(ACTION)
57 changes: 57 additions & 0 deletions applications/acdc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
PROJECT = acdc
ROOT = ../..
REBAR = $(ROOT)/utils/rebar/rebar
DIALYZER = dialyzer

EBINS = $(shell find $(ROOT)/core -maxdepth 2 -name ebin -print) $(shell find $(ROOT)/deps -maxdepth 2 -name ebin -print)
PA = $(foreach EBIN,$(EBINS),-pa $(EBIN))

ERLC_OPTS = +debug_info +warn_export_all -I$(ROOT)/core -I$(ROOT)/deps $(PA)
# +bin_opt_info

DIRS = . \
$(ROOT)/core/whistle-1.0.0 \
$(ROOT)/core/whistle_amqp-1.0.0 \
$(ROOT)/core/whistle_couch-1.0.0 \
$(ROOT)/core/whistle_apps-1.0.0

.PHONY: all compile clean

all: compile

MODULES = $(shell ls src/*.erl | sed 's/src\///;s/\.erl/,/' | sed '$$s/.$$//')

compile: ebin/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
> ebin/$(PROJECT).app
-@$(MAKE) ebin/$(PROJECT).app

ebin/$(PROJECT).app: src/*.erl
@mkdir -p ebin/
erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ $?

compile-test: test/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
> test/$(PROJECT).app
-@$(MAKE) test/$(PROJECT).app

test/$(PROJECT).app: src/*.erl
@mkdir -p test/
erlc -v $(ERLC_OPTS) -o test/ -pa test/ $?

clean:
rm -f ebin/*
rm -f test/*.beam test/$(PROJECT).app
rm -f erl_crash.dump

test: clean compile-test eunit

eunit: compile-test
erl -noshell -pa test -eval "eunit:test([$(MODULES)], [verbose])" -s init stop

dialyze:
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
--plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added applications/acdc/ebin/acdc.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agent.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agent_fsm.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agent_handler.beam
Binary file not shown.
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agent_manager.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agent_sup.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agent_util.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_agents_sup.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_app.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_eavesdrop.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_handlers.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_init.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_listener.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_maintenance.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_fsm.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_handler.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_listener.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_manager.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_shared.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_sup.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_thief.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queue_worker_sup.beam
Binary file not shown.
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_queues_sup.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_stats.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_stats_etsmgr.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_stats_sup.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_sup.beam
Binary file not shown.
Binary file added applications/acdc/ebin/acdc_util.beam
Binary file not shown.
Binary file added applications/acdc/ebin/wapi_acdc_agent.beam
Binary file not shown.
Binary file added applications/acdc/ebin/wapi_acdc_queue.beam
Binary file not shown.
Binary file added applications/acdc/ebin/wapi_acdc_stats.beam
Binary file not shown.
Binary file added applications/acdc/ebin/webseq.beam
Binary file not shown.
12 changes: 12 additions & 0 deletions applications/acdc/src/acdc.app.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{application, acdc,
[
{description, "ACDc - Automatic Call Distribution commander"},
{vsn, "1"},
{registered, []},
{applications, [
kernel,
stdlib
]},
{mod, { acdc_app, []}},
{env, []}
]}.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
58 changes: 58 additions & 0 deletions applications/callflow/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
PROJECT = callflow
ROOT = ../..
REBAR = $(ROOT)/utils/rebar/rebar
DIALYZER = dialyzer

EBINS = $(shell find $(ROOT)/core -maxdepth 2 -name ebin -print) $(shell find $(ROOT)/deps -maxdepth 2 -name ebin -print)
PA = $(foreach EBIN,$(EBINS),-pa $(EBIN))

ERLC_OPTS = +debug_info +warn_export_all -I$(ROOT)/core -I$(ROOT)/deps $(PA)
# +bin_opt_info

DIRS = . \
$(ROOT)/core/whistle-1.0.0 \
$(ROOT)/core/whistle_amqp-1.0.0 \
$(ROOT)/core/whistle_couch-1.0.0 \
$(ROOT)/corewhistle_apps-1.0.0

.PHONY: all compile clean

all: compile

MODULES = $(shell ls src/*.erl | sed 's/src\///;s/\.erl/,/' | sed '$$s/.$$//')
CF_MODULES = $(shell ls src/module/*.erl | sed 's/src\/module\///;s/\.erl/,/' | sed '$$s/.$$//')

compile: ebin/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES),$(CF_MODULES)\]}/' \
> ebin/$(PROJECT).app
-@$(MAKE) ebin/$(PROJECT).app

ebin/$(PROJECT).app: src/*.erl src/module/*.erl
@mkdir -p ebin/
erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ $?

compile-test: test/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES),$(CF_MODULES)\]}/' \
> test/$(PROJECT).app
-@$(MAKE) test/$(PROJECT).app

test/$(PROJECT).app: src/*.erl src/module/*.erl
@mkdir -p test/
erlc -v $(ERLC_OPTS) -o test/ -pa test/ $?

clean:
rm -f ebin/*
rm -f test/*.beam test/$(PROJECT).app
rm -f erl_crash.dump

test: clean compile-test eunit

eunit: compile-test
erl -noshell -pa test -eval "eunit:test([$(MODULES),$(CF_MODULES)], [verbose])" -s init stop

dialyze:
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
--plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
File renamed without changes.
14 changes: 14 additions & 0 deletions applications/callflow/ebin/callflow.app
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{application, callflow,
[
{description, "Callflow - traversing throught the tree..."}
,{vsn, "0.0.1"}
,{modules, [callflow_app, callflow, callflow_maintenance, callflow_sup, cf_attributes, cf_endpoint, cf_exe, cf_exe_sup, cf_listener, cf_route_req, cf_route_resume, cf_route_win, cf_shared_listener, cf_util, wapi_callflow,cf_acdc_agent, cf_acdc_member, cf_acdc_queue, cf_callflow, cf_call_forward, cf_conference, cf_device, cf_dialplan, cf_directory, cf_disa, cf_do_not_disturb, cf_dynamic_cid, cf_hotdesk, cf_intercom, cf_manual_presence, cf_menu, cf_offnet, cf_page_group, cf_park, cf_pivot, cf_play, cf_prepend_cid, cf_privacy, cf_receive_fax, cf_record_call, cf_resources, cf_response, cf_ring_group, cf_set, cf_temporal_route, cf_user, cf_voicemail]}
,{registered, []}
,{applications, [
kernel
,stdlib
,crypto
]}
,{mod, { callflow_app, []} }
,{env, []}
]}.
Binary file added applications/callflow/ebin/callflow.beam
Binary file not shown.
Binary file added applications/callflow/ebin/callflow_app.beam
Binary file not shown.
Binary file not shown.
Binary file added applications/callflow/ebin/callflow_sup.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_acdc_agent.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_acdc_member.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_acdc_queue.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_attributes.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_call_forward.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_callflow.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_conference.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_device.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_dialplan.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_directory.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_disa.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_do_not_disturb.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_dynamic_cid.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_endpoint.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_exe.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_exe_sup.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_hotdesk.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_intercom.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_listener.beam
Binary file not shown.
Binary file not shown.
Binary file added applications/callflow/ebin/cf_menu.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_offnet.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_page_group.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_park.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_pivot.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_play.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_prepend_cid.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_privacy.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_receive_fax.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_record_call.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_resources.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_response.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_ring_group.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_route_req.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_route_resume.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_route_win.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_set.beam
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added applications/callflow/ebin/cf_user.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_util.beam
Binary file not shown.
Binary file added applications/callflow/ebin/cf_voicemail.beam
Binary file not shown.
Binary file added applications/callflow/ebin/wapi_callflow.beam
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
57 changes: 57 additions & 0 deletions applications/cdr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
PROJECT = cdr
ROOT = ../..
REBAR = $(ROOT)/utils/rebar/rebar
DIALYZER = dialyzer

EBINS = $(shell find $(ROOT)/core -maxdepth 2 -name ebin -print) $(shell find $(ROOT)/deps -maxdepth 2 -name ebin -print)
PA = $(foreach EBIN,$(EBINS),-pa $(EBIN))

ERLC_OPTS = +debug_info +warn_export_all -I$(ROOT)/core -I$(ROOT)/deps $(PA)
# +bin_opt_info

DIRS = . \
$(ROOT)/core/whistle-1.0.0 \
$(ROOT)/core/whistle_amqp-1.0.0 \
$(ROOT)/core/whistle_couch-1.0.0 \
$(ROOT)/core/whistle_apps-1.0.0

.PHONY: all compile clean

all: compile

MODULES = $(shell ls src/*.erl | sed 's/src\///;s/\.erl/,/' | sed '$$s/.$$//')

compile: ebin/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
> ebin/$(PROJECT).app
-@$(MAKE) ebin/$(PROJECT).app

ebin/$(PROJECT).app: src/*.erl
@mkdir -p ebin/
erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ $?

compile-test: test/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
> test/$(PROJECT).app
-@$(MAKE) test/$(PROJECT).app

test/$(PROJECT).app: src/*.erl
@mkdir -p test/
erlc -v $(ERLC_OPTS) -o test/ -pa test/ $?

clean:
rm -f ebin/*
rm -f test/*.beam test/$(PROJECT).app
rm -f erl_crash.dump

test: clean compile-test eunit

eunit: compile-test
erl -noshell -pa test -eval "eunit:test([$(MODULES)], [verbose])" -s init stop

dialyze:
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
--plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added applications/cdr/ebin/cdr.beam
Binary file not shown.
Binary file added applications/cdr/ebin/cdr_app.beam
Binary file not shown.
Binary file added applications/cdr/ebin/cdr_deps.beam
Binary file not shown.
Binary file added applications/cdr/ebin/cdr_listener.beam
Binary file not shown.
Binary file added applications/cdr/ebin/cdr_sup.beam
Binary file not shown.
File renamed without changes.
12 changes: 12 additions & 0 deletions applications/cdr/src/cdr.app.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{application, cdr,
[
{description, "Listen and record CDR events into CouchDB"},
{vsn, "0.4.1"},
{registered, []},
{applications, [
kernel,
stdlib
]},
{mod, { cdr_app, []}},
{env, []}
]}.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
57 changes: 57 additions & 0 deletions applications/conference/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
PROJECT = conference
ROOT = ../..
REBAR = $(ROOT)/utils/rebar/rebar
DIALYZER = dialyzer

EBINS = $(shell find $(ROOT)/core -maxdepth 2 -name ebin -print) $(shell find $(ROOT)/deps -maxdepth 2 -name ebin -print)
PA = $(foreach EBIN,$(EBINS),-pa $(EBIN))

ERLC_OPTS = +debug_info +warn_export_all -I$(ROOT)/core -I$(ROOT)/deps $(PA)
# +bin_opt_info

DIRS = . \
$(ROOT)/core/whistle-1.0.0 \
$(ROOT)/core/whistle_amqp-1.0.0 \
$(ROOT)/core/whistle_couch-1.0.0 \
$(ROOT)/core/whistle_apps-1.0.0

.PHONY: all compile clean

all: compile

MODULES = $(shell ls src/*.erl | sed 's/src\///;s/\.erl/,/' | sed '$$s/.$$//')

compile: ebin/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
> ebin/$(PROJECT).app
-@$(MAKE) ebin/$(PROJECT).app

ebin/$(PROJECT).app: src/*.erl
@mkdir -p ebin/
erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ $?

compile-test: test/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
> test/$(PROJECT).app
-@$(MAKE) test/$(PROJECT).app

test/$(PROJECT).app: src/*.erl
@mkdir -p test/
erlc -v $(ERLC_OPTS) -o test/ -pa test/ $?

clean:
rm -f ebin/*
rm -f test/*.beam test/$(PROJECT).app
rm -f erl_crash.dump

test: clean compile-test eunit

eunit: compile-test
erl -noshell -pa test -eval "eunit:test([$(MODULES)], [verbose])" -s init stop

dialyze:
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
--plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
File renamed without changes.
Binary file added applications/conference/ebin/conf_discovery.beam
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions applications/conference/ebin/conference.app
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{application, conference,
[
{description, "Conferencing Service Provider"},
{vsn, "1.0.0"},
{modules, [conf_discovery, conference_app, conference, conference_maintenance, conference_sup, conf_participant, conf_participant_sup, wapi_conf_participant]},
{registered, []},
{applications, [
kernel,
stdlib
]},
{mod, { conference_app, []}},
{env, []}
]}.
Binary file added applications/conference/ebin/conference.beam
Binary file not shown.
Binary file added applications/conference/ebin/conference_app.beam
Binary file not shown.
Binary file not shown.
Binary file added applications/conference/ebin/conference_sup.beam
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
59 changes: 59 additions & 0 deletions applications/crossbar/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
PROJECT = crossbar
ROOT = ../..
REBAR = $(ROOT)/utils/rebar/rebar
DIALYZER = dialyzer

EBINS = $(shell find $(ROOT)/core -maxdepth 2 -name ebin -print) $(shell find $(ROOT)/deps -maxdepth 2 -name ebin -print)
PA = $(foreach EBIN,$(EBINS),-pa $(EBIN))

ERLC_OPTS = +debug_info +warn_export_all -I$(ROOT)/core -I$(ROOT)/deps $(PA)
# +bin_opt_info

DIRS = . \
$(ROOT)/core/whistle-1.0.0 \
$(ROOT)/core/whistle_amqp-1.0.0 \
$(ROOT)/core/whistle_couch-1.0.0 \
$(ROOT)/core/whistle_apps-1.0.0

.PHONY: all compile clean

all: compile

MODULES = $(shell ls src/*.erl | sed 's/src\///;s/\.erl/,/' | sed '$$s/.$$//')
CB_MODULES = $(shell ls src/modules/*.erl | sed 's/src\/modules\///;s/\.erl/,/' | sed '$$s/.$$//')

compile: ebin/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES),$(CB_MODULES)\]}/' \
> ebin/$(PROJECT).app
-@$(MAKE) ebin/$(PROJECT).app

ebin/$(PROJECT).app: src/*.erl src/modules/*.erl
@mkdir -p ebin/
erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ $?

compile-test: test/$(PROJECT).app
@cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES),$(CB_MODULES)\]}/' \
> test/$(PROJECT).app
-@$(MAKE) test/$(PROJECT).app

test/$(PROJECT).app: src/*.erl src/modules/*.erl
@mkdir -p test/
erlc -v $(ERLC_OPTS) -o test/ -pa test/ $?

clean:
rm -f ebin/*
rm -f test/*.beam test/$(PROJECT).app
rm -f erl_crash.dump

test: clean compile-test eunit

eunit: compile-test
erl -noshell -pa test -eval "eunit:test([$(MODULES),$(CB_MODULES)], [verbose])" -s init stop

dialyze:
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
--statistics \
--plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
File renamed without changes.
Binary file added applications/crossbar/ebin/cb_about.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_accounts.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_acls.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_agents.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_api_auth.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_braintree.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_buckets_ets.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_buckets_mgr.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_buckets_sup.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_bulk.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_callflows.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_cdrs.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_clicktocall.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_conferences.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_configs.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_connectivity.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_contact_list.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_context.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_devices.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_directories.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_events.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_events_srv.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_events_sup.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_faxes.beam
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_groups.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_hotdesks.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_ip_auth.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_killio.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_kz_buckets_sup.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_limits.beam
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_media.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_menus.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_modules_util.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_noauthn.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_noauthz.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_onboard.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_phone_numbers.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_queues.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_rates.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_registrations.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_schemas.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_servers.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_service_plans.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_services.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_shared_auth.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_signup.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_simple_authz.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_skels.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_templates.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_temporal_rules.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_test.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_token_auth.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_transactions.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_user_auth.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_users.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_vmboxes.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_webhooks.beam
Binary file not shown.
Binary file added applications/crossbar/ebin/cb_whitelabel.beam
Binary file not shown.
Loading

0 comments on commit 92e7a32

Please sign in to comment.