-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
26 lines (23 loc) · 1.22 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%% -*- mode: erlang; indent-tabs-mode: nil -*-
{erl_opts, [debug_info]}.
%% IMPORTANT! Versions of proper are calculated dynamically in the 'rebar.config.script' file, at the end;
%% DO NOT set/change the proper version here!
{profiles, [{test, [{deps, [proper]},
{plugins, [{rebar3_proper, {git, "https://github.com/ferd/rebar3_proper", {tag, "0.12.1"}}}]},
{src_dirs, ["src", "test"]}]},
{dialyzer, []}]}.
{pre_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", ct,
"bin/lfescript bin/lfec"
" -o $REBAR_DEPS_DIR/lfe/test"
" test/*_SUITE.lfe"},
{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", eunit,
"bin/lfescript bin/lfec"
" -o $REBAR_DEPS_DIR/lfe/ebin"
" test/clj-tests.lfe test/maps-tests.lfe"},
%% TODO: Test this on a win32 box
%% {"win32", ct,
%% "bin/lfescript bin/lfec -o $REBAR_DEPS_DIR/lfe/test test/*_SUITE.lfe"}
{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", app_compile,
"bin/lfescript bin/lfec -o $REBAR_DEPS_DIR/lfe/ebin src/*.lfe"}
%% TODO: equivalent win32 hook
]}.