forked from band115/ecirca
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrebar_dev.config
More file actions
42 lines (37 loc) · 1.69 KB
/
rebar_dev.config
File metadata and controls
42 lines (37 loc) · 1.69 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
%% -*- erlang -*-
%% Erlang releases after 17 don't put R in front of their name
{erl_opts, [{platform_define, "^[0-9]+", namespaced_arrays},
debug_info,
warnings_as_errors]}.
{deps_dir, ["deps"]}.
{deps, [{edown, ".*",
{git, "https://github.com/uwiger/edown.git",
{tag, "0.8"}}},
{proper_stdlib, ".*",
{git, "https://github.com/spawngrid/proper_stdlib.git",
"master"}},
{proper, ".*",
{git, "https://github.com/manopapad/proper.git",
{tag, "63de455c90"}}}]}.
{eunit_opts, [verbose, {report,{eunit_surefire, [{dir, "."}]}}]}.
%% FIXME(Sergei): remove this, once Travis updates its 'rebar' version.
{so_specs, [{"priv/ecirca_small.so", ["c_src/ecirca_small.o"]},
{"priv/ecirca_medium.so", ["c_src/ecirca_medium.o"]},
{"priv/ecirca_large.so", ["c_src/ecirca_large.o"]}]}.
{port_specs, [{"priv/ecirca_small.so", ["c_src/ecirca_small.c"]},
{"priv/ecirca_medium.so", ["c_src/ecirca_medium.c"]},
{"priv/ecirca_large.so", ["c_src/ecirca_large.c"]}]}.
{port_env, [{"darwin", "CC", "clang"},
%% unfortunately, R17.2 produces warnings on compilation by
%% itself (error in ERL_NIF_INIT).
%% {"CFLAGS", "$CFLAGS -std=c99 -Wall -Wextra -Werror -pedantic"}]}.
{"CFLAGS", "$CFLAGS -std=c99 -Wall -Wextra -pedantic"}]}.
{pre_hooks, [{compile, "./priv/codegen.sh"}]}.
{edoc_opts, [{doclet, edown_doclet},
{src_path, ["src"]},
{stylesheet, ""},
{image, ""},
{preprocess, true},
{top_level_readme,
{"./README.md",
"https://github.com/band115/ecirca"}}]}.