-
-
Save binarytemple-external/c354ec3b5344c2c62da15f3ecbb5123f to your computer and use it in GitHub Desktop.
rebar3_cuttlefish problems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{erl_opts, [debug_info, {parse_transform, lager_transform}]}. | |
{deps, [ | |
{pbkdf2, {git, "git://github.com/marianoguerra/erlang-pbkdf2-no-history", {branch, "master"}}}, | |
{exometer_core, {git, "git://github.com/basho/exometer_core.git", {branch, "th/correct-dependencies"}}}, | |
{riak_core, {git, "git://github.com/basho/riak_core", {branch, "develop"}}} | |
]}. | |
{relx, [{release, { ricor , "0.1.0"}, | |
[ricor, | |
cuttlefish, | |
sasl]}, | |
{dev_mode, true}, | |
{include_erts, false}, | |
{overlay_vars, "config/vars.config"}, | |
{overlay, [ | |
{mkdir, "etc"}, | |
{mkdir, "bin"}, | |
{mkdir, "data/ring"}, | |
{mkdir, "log/sasl"}, | |
{copy, "./config/admin_bin", "bin/ricor-admin"}, | |
{template, "./config/advanced.config", "etc/advanced.config"}, | |
{copy, "{{output_dir}}/releases/{{release_version}}/vm.args", "etc/vm.args"} | |
]} | |
]}. | |
{plugins, [ | |
{rebar3_run, {git, "git://github.com/tsloughter/rebar3_run.git", {branch, "master"}}} | |
]}. | |
{project_plugins, [{rebar3_cuttlefish, {git, "git://github.com/tsloughter/rebar3_cuttlefish.git", {branch, "master"}}}]}. | |
{profiles, [ | |
{prod, [{relx, [{dev_mode, false}, {include_erts, true}]}]}, | |
{dev1, [{relx, [{overlay_vars, ["config/vars.config", "config/vars_dev1.config"]}]}]}, | |
{dev2, [{relx, [{overlay_vars, ["config/vars.config", "config/vars_dev2.config"]}]}]}, | |
{dev3, [{relx, [{overlay_vars, ["config/vars.config", "config/vars_dev3.config"]}]}]} | |
]}. | |
{overrides, | |
[{override, eleveldb, | |
[ | |
{artifacts, ["priv/eleveldb.so"]}, | |
{pre_hooks, [{compile, "c_src/build_deps.sh get-deps"}, | |
{compile, "c_src/build_deps.sh"}]}, | |
{post_hooks, [{clean, "c_src/build_deps.sh clean"}]}, | |
{plugins, [pc]}, | |
{provider_hooks, [{post, | |
[{compile, {pc, compile}}, | |
{clean, {pc, clean}} | |
] | |
}] | |
} | |
] | |
}, | |
{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}]} | |
]}, | |
{override, riak_core, | |
[ | |
{erl_opts, [debug_info, | |
{parse_transform, lager_transform}, | |
{platform_define, "^[0-9]+", namespaced_types}, | |
{platform_define, "^R15", "old_hash"}]} | |
]} | |
]}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment