@ -57,7 +57,23 @@ Dependencies are listed in `rebar.config` file under the `deps` key:
]}.
```
Then you'll most likely want to add the dependency to one of your project's application's `.app.src` file under applications.
Now you can add the dep to one of your project's application's `.app.src` file under applications:
```erlang
{application, <APPNAME>,
[{description, ""},
{vsn, "<APPVSN>"},
{registered, []},
{modules, []},
{applications, [
kernel
,stdlib
,cowboy
]},
{mod, {<APPNAME>_app, []}},
{env, []}
]}.
```
## Rebar3 Conventions
@ -74,6 +90,23 @@ Rebar3 is entirely based on building OTP applications and releases.
## Checkout Dependencies
Often while developing you find yourself working on mulitple applications from separate repos together. To simplify this process `rebar3` will look in the directory `_checkouts` for applications to override a dependency.
For example, you are working on project `app1` which depends on `app2`. You want to have your modifications to `app2` used by `app1`: