riichi/rebar.config
2019-12-26 15:37:28 -05:00

28 lines
817 B
Erlang

%% -*- mode: erlang -*-
{plugins, [rebar3_auto]}.
{deps, [{cowboy, "1.1.2"},
lager,
jsx]}.
{erl_opts, [{parse_transform, lager_transform}]}.
{pre_hooks,
[{"(linux|darwin|solaris)", compile,"make elm"},
{"(freebsd|netbsd|openbsd)",compile,"gmake elm"},
{"win32", compile,"make elm"},
{"(linux|darwin|solaris)", eunit, "make elm-test"},
{"(freebsd|netbsd|openbsd)",eunit, "gmake elm-test"},
{"win32", eunit, "make elm-test"},
{"(linux|darwin|solaris)", clean, "make clean"}
]}.
{relx, [{release, {riichi, "0.0.1"},
[riichi]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]}.
{profiles, [{prod, [{relx, [{dev_mode, false}
,{include_erts, true}]}]}]}.