-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrebar.config
31 lines (23 loc) · 1.05 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
27
28
29
30
{port_specs, [
{".*", "priv/nifty_clangparse.so", ["c_src/nifty_clangparse.c"], [{env,[
{"LDFLAGS", "$LDFLAGS -lclang"}]}]},
{"priv/nifty.so", ["c_src/nifty.c"]}
]}.
{deps, [
{erlydtl, ".*", {git, "https://github.com/erlydtl/erlydtl", "26cb8fc"}},
{proper, ".*", {git, "https://github.com/manopapad/proper", "HEAD"}},
{rebar, ".*", {git, "https://github.com/TheGeorge/rebar.git", "HEAD"}}, %% version with OTP 17.0 fixes
{erlsom, ".*", {git, "https://github.com/willemdj/erlsom.git", "HEAD"}}
]}.
%% {erl_opts, [debug_info, report_warnings,
%% warn_export_vars, warn_unused_import,
%% warn_missing_spec, warn_untyped_record]}.
{erl_opts, [debug_info, report_warnings,
warn_export_vars, warn_unused_import,
warn_untyped_record]}.
%%{cover_enabled, true}.
%% not ideal but works for the time being
{pre_hooks,
[{compile, "sh -c \"rm -f ebin/nifty_contiki_template.beam ebin/nifty_support_template.beam ebin/nifty_simscript_template.beam\""}]}.
{post_hooks,
[{compile, "sh -c \"ERL_LIBS=deps/:. escript ./priv/nifty_compile_templates.erl\""}]}.