-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
30 lines (20 loc) · 1.03 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
{eunit_opts, [verbose]}.
{deps, []}.
{profiles, [{docs, [
{deps, [edown]},
{edoc_opts, [{doclet, edown_doclet},
{packages, false},
{subpackages, true},
{top_level_readme,
{"./README.md", "http://gitlab.com/barrel-db/erlang-rocksdb"}}]}]}
]}.
{pre_hooks, [{clean, "rm -f priv/*.so"},
{clean, "rm -rf _build/cmake"},
{"(linux|darwin|solaris)", compile, "./do_cmake.sh $ERLANG_ROCKSDB_OPTS"},
{"(freebsd|netbsd|openbsd)", compile, "./do_cmake.sh $ERLANG_ROCKSDB_OPTS"},
{"win32", compile, "cmake -G \"Visual Studio 15 Win64\""}
]}.
{post_hooks, [{"(linux|darwin|solaris)", compile, "./do_rocksdb.sh $ERLANG_ROCKSDB_BUILDOPTS"},
{"(freebsd|netbsd|openbsd)", compile, "./do_rocksdb.sh $ERLANG_ROCKSDB_BUILDOPTS"},
{"win32", compile, "msbuild rocksdb.sln"}
]}.