[erlang-questions] dependency not reachable

Ameretat Reith <>
Sat Jan 30 17:57:59 CET 2016


On Sat, 30 Jan 2016 18:52:32 +0530
Pavanan M S <> wrote:


>             What could be the reason for this. Also...Is there
> anything I need to do more when making this a rebar 3 release? Please
> help.


In your rebar.config, add jsx to deps section to fetch it and include in
relx configuration to include it in release:

```
{deps,
  [
    ...
    {jsx,    {git, "https://github.com/talentdeficit/jsx", {branch,"master"}}}
  ]
}.

{relx,
  [
    {release, {app, "1.0.0"},
    [ 
      ...
      {jsx, load}
    ]
  ]
}.

```

app.src just specifies application dependency and tells which
application should be started before another one.


More information about the erlang-questions mailing list