2017-07-19 01:39:36 +00:00
|
|
|
%% -*- mode: erlang -*-
|
|
|
|
|
2017-08-23 23:24:00 +00:00
|
|
|
{plugins, [rebar3_auto]}.
|
|
|
|
|
|
|
|
{deps, [cowboy,
|
|
|
|
lager,
|
|
|
|
jsx]}.
|
|
|
|
|
|
|
|
{erl_opts, [{parse_transform, lager_transform}]}.
|
|
|
|
|
2017-07-19 02:13:27 +00:00
|
|
|
{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"}
|
|
|
|
]}.
|
|
|
|
|
2017-07-19 01:39:36 +00:00
|
|
|
{relx, [{release, {riichi, "0.0.1"},
|
|
|
|
[riichi]},
|
|
|
|
{dev_mode, true},
|
|
|
|
{include_erts, false},
|
|
|
|
{extended_start_script, true}]}.
|