Packages

A set of OTP servers that faciliate live MIDI composition and performance

Current section

Files

Jump to
undermidi rebar.config
Raw

rebar.config

{erl_opts, [debug_info, {no_auto_import, [{get,1}]}]}.
{deps, [
{lfe, "~> 2.2"},
{logjam, "~> 1.2"},
{lutil, "~> 0.16"},
{midilib, "~> 0.5"},
{undertheory, "~> 0.3"}
]}.
{project_plugins, [
{rebar3_lfe, "~> 0.4"},
{rebar3_oscmd, "~> 0.5"}
]}.
{pre_hooks, [
{compile, "./priv/scripts/build-spmidi.sh"}
]}.
{provider_hooks, [
{pre, [
{compile, {lfe, compile}}
]}
]}.
{xref_checks, [
undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions
]}.
{dialyzer, [
{warnings, [unknown]},
{plt_extra_apps, [eunit]}
]}.
{profiles, [
{test, [
{erl_opts, [
{src_dirs, ["src", "test"]}
]},
{deps, [
{proper, "1.3.0"},
{ltest, "~> 0.13"}
]},
{plugins, [
{rebar3_proper, "0.12.1"}
]},
{eunit_opts, [verbose]}
]},
{shortcuts, [
{erl_opts, [
{src_dirs, ["src", "priv/desktop/src"]}
]},
{lfe, [{main, "priv/scripts/make-shortcuts.lfe"}]},
{deps, [
{bbmustache, "~> 1.12"}
]}
]},
{maintainer, [
{plugins, [rebar3_hex]}
]},
{undermidi, [
{erl_opts, [
{src_dirs, ["src", "priv/patches"]}
]},
{lfe, [{repl, [{nobanner, true}]}]}
]},
{'playlist-add', [
{lfe, [{main, "priv/scripts/playlist-add.lfe"}]}
]},
{'list-devices', [
{lfe, [{main, "priv/scripts/list-devices.lfe"}]}
]}
]}.
{commands, [
{makenif, "./priv/scripts/build-spmidi.sh", [{timeout, 300000}, {verbose, true}]}
]}.
{alias, [
{test, [
compile,
{lfe, ltest, "tall"}
]},
{coverage, [
{proper, "-c"},
{cover, "-v --min_coverage=0"}
]},
{check, [
compile,
%%xref,
%%dialyzer,
test,
coverage
]},
%% The following should be run with `rebar3 as undermidi repl`:
{repl, [
clean,
{lfe, repl, "--sname undermidi@localhost --apps undermidi"}
]},
%% The following should be run with `rebar3 as maintainer publish`:
{publish, [
compile,
{hex, "publish package"}
]},
%% The following should be run with `rebar3 as shortcuts make-files`:
{'make-files', [
{lfe, run}
]}
%% To list devices, run `rebar3 as list-devices lfe run`
]}.