[erlang-questions] Programing Erlang - second editon Chapter 25

Miguel Silvestre <>
Thu Jan 28 10:33:27 CET 2016


Thank you very nuch,

That worked {ovirrides, }...

!



--
Miguel Silvestre

On Wed, Jan 27, 2016 at 1:49 PM, Fred Hebert <> wrote:

>
> On 01/27, Jesper Louis Andersen wrote:
>
>> It would be worthwhile to provide a 18.x-ready version of Bitcask anyway,
>> though, because eventually they will need to upgrade :)
>>
>
> We got bitcask to work with 18.x at Heroku using rebar3 with the following
> entries in our rebar.config file:
>
>    {deps, [
>        {bitcask, {git, "https://github.com/basho/bitcask.git", {branch,
> "develop"}}},
>        ...
>    ]}.
>       {overrides, [
>        {override, bitcask, [
>            {erl_opts, [
>                 warnings_as_errors, debug_info,
>                 {platform_define, "^[0-9]+", namespaced_types},
>                 {parse_transform, lager_transform}
>            ]},
>            {deps, [lager]},
>            {plugins, [pc]},
>            {artifacts, ["priv/bitcask.so"]},
>            {provider_hooks, [
>                {post, [{compile, {pc, compile}},
>                        {clean, {pc, clean}}]}
>            ]}
>        ]}
>    ]}.
>
> It's quite a mouthful, but with these modifications we've been able to run
> it fine on 18.x until upstream support is in.
>
> Regards,
> Fred.
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160128/e778517e/attachment.html>


More information about the erlang-questions mailing list