Permalink
Browse files

update rebar.config to make it run again

  • Loading branch information...
marianoguerra committed May 3, 2016
1 parent 220bcad commit 188ea3d0cd0278082acd20c9b7a67bb1f1092b83
Showing with 15 additions and 23 deletions.
  1. +3 −1 apps/tanodb/src/tanodb.app.src
  2. +1 −0 config/vars.config
  3. +11 −22 rebar.config
@@ -9,7 +9,9 @@
stdlib,
sasl,
riak_core,
setup
setup,
cowboy,
jsx
]},
{mod, { tanodb_app, []}},
{env, []}
View
@@ -15,3 +15,4 @@
{platform_lib_dir, "./lib"}.
{platform_log_dir, "./log"}.
{crash_dump, "erl_crash.dump"}.
View
@@ -13,43 +13,30 @@
[tanodb,
cowboy,
jsx,
riak_core,
cuttlefish,
sasl]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay_vars, "config/vars.config"},
{overlay, [
{mkdir, "etc"},
{mkdir, "bin"},
{mkdir, "data/ring"},
{mkdir, "log/sasl"},
{template, "./_build/default/plugins/cuttlefish/priv/erlang_vm.schema",
"share/schema/11-erlang_vm.schema"},
{template, "./_build/default/lib/riak_core/priv/riak_core.schema", "share/schema/12-riak_core.schema"},
{template, "./_build/default/lib/riak_sysmon/priv/riak_sysmon.schema", "lib/15-riak_sysmon.schema"},
{template, "./_build/default/lib/eleveldb/priv/eleveldb.schema", "share/schema/21-leveldb.schema"},
{template, "config/config.schema", "share/schema/22-tanodb.schema"},
{template, "./config/extended_bin", "bin/tanodb"},
{copy, "./config/admin_bin", "bin/tanodb-admin"},
{copy, "./config/nodetool", "bin/nodetool"},
{template, "./config/advanced.config", "etc/advanced.config"},
{copy, "./_build/default/bin/cuttlefish", "bin/cuttlefish"},
{copy, "{{output_dir}}/releases/{{release_version}}/vm.args", "etc/vm.args"}
{template, "./config/advanced.config", "etc/advanced.config"}
]}
]}.
{plugins, [
{rebar3_run, {git, "git://github.com/tsloughter/rebar3_run.git", {branch, "master"}}},
{rebar3_cuttlefish, {git, "git://github.com/tsloughter/rebar3_cuttlefish.git", {branch, "master"}}}
{rebar3_run, {git, "git://github.com/tsloughter/rebar3_run.git", {branch, "master"}}}
]}.
{project_plugins, [rebar3_cuttlefish]}.
{profiles, [
{prod, [{relx, [{dev_mode, false}, {include_erts, true}]}]},
{dev1, [{relx, [{overlay_vars, "config/vars_dev1.config"},
@@ -61,10 +48,6 @@
]}.
{provider_hooks, [
{post, [{release, cuttlefish}]}
]}.
{overrides,
[{override, eleveldb,
[
@@ -86,6 +69,12 @@
},
{override, riak_ensemble,
[
{artifacts, ["c_src/riak_ensemble_clock.o"]},
{plugins, [pc]},
{provider_hooks, [{post,
[{compile, {pc, compile}},
{clean, {pc, clean}}
]}]},
{erl_opts, [debug_info,
warn_untyped_record,
{parse_transform, lager_transform}]}

0 comments on commit 188ea3d

Please sign in to comment.