riichi/rebar.config
2018-04-09 22:22:47 -04:00

25 lines
714 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}]}.