This repository has been archived by the owner on Mar 15, 2021. It is now read-only.
forked from mjudylu/lucene_server
-
Notifications
You must be signed in to change notification settings - Fork 3
/
rebar.config
32 lines (32 loc) · 2.12 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
31
32
{erl_opts, [{parse_transform, lager_transform}, {src_dirs, ["src", "test"]},
warn_unused_vars,
warn_export_all,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_bif_clash,
warn_unused_record,
warn_deprecated_function,
warn_obsolete_guard,
strict_validation,
warn_export_vars,
warn_exported_vars,
warn_missing_spec,
warn_untyped_record, debug_info]}.
{deps_dir, "deps"}.
{deps, [{eper, "0.*" , {git, "[email protected]:mhald/eper.git", "master"}},
{meck, ".*", {git, "[email protected]:eproxus/meck.git", "master"}},
{worker_pool, ".*", {git, "[email protected]:inaka/worker_pool.git", "master"}},
{lager, "2.*", {git, "git://github.com/basho/lager.git", "master"}},
{jinterface_stdlib, ".*", {git, "git://github.com/inaka/jinterface_stdlib.git", "master"}}]}.
{xref_warnings, true}.
{xref_checks, [undefined_function_calls, undefined_functions, locals_not_used, deprecated_function_calls, deprecated_functions]}.
{ct_extra_params,"-no_auto_compile -dir ebin -logdir log/ct -erl_args -smp enable -setcookie tigertext_lucene -boot start_sasl -s lager -s wpool -config priv/test.config"}.
{edoc_opts, [{report_missing_types, true}, {source_path, ["src"]}, {report_missing_types, true}, {todo, true}, {packages, false}, {subpackages, false}]}.
{pre_hooks, [{compile, "mkdir -p bin"},
{compile, "cp `find /usr/local/lib/erlang/lib/ -name OtpErlang.jar | sort | tail -n1` priv/"}]}.
{post_hooks, [{clean, "rm -rf bin priv/lucene_server.jar priv/OtpErlang.jar"},
{compile, "cp deps/jinterface_stdlib/priv/jinterface-stdlib.jar priv/"},
{compile, "javac -g -verbose -deprecation -sourcepath java_src -classpath ./bin:./priv/* -d bin `find java_src -name *.java`"},
{compile, "jar cf priv/lucene-server.jar -C bin ."}]}.
{cover_enabled, true}.