diff options
author | Loïc Hoguin <[email protected]> | 2022-05-31 09:53:34 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2022-05-31 09:53:34 +0200 |
commit | af8ba863113fe48b1e83f1a760775e03e3148c41 (patch) | |
tree | 23f8f48d369ce2572eb9a3d8fe4f3dad7508267d /guide/deps.html | |
parent | da731f370d5440803a294b0d0006d8531ea2e52e (diff) | |
download | erlang.mk-af8ba863113fe48b1e83f1a760775e03e3148c41.tar.gz erlang.mk-af8ba863113fe48b1e83f1a760775e03e3148c41.tar.bz2 erlang.mk-af8ba863113fe48b1e83f1a760775e03e3148c41.zip |
Update user guide
Diffstat (limited to 'guide/deps.html')
-rw-r--r-- | guide/deps.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guide/deps.html b/guide/deps.html index fa9287c..f2de869 100644 --- a/guide/deps.html +++ b/guide/deps.html @@ -47,7 +47,11 @@ tools to find what you need, for example:</p><pre class="programlisting">$ make to your project is a one-liner:</p><pre class="programlisting">DEPS = cowboy</pre><p>And that’s it! The next time you run <code class="literal">make</code>, Erlang.mk will fetch and compile Cowboy. Erlang.mk will also ensure Cowboy is available whenever you use the shell, run tests and any -other operations.</p><p>Erlang.mk will fill in the application resource file with +other operations.</p><p>Note though that you may need to specify the version of a +dependency to use. Otherwise, you may get an outdated version, +since the package index used by Erlang.mk is not always +updated with the latest version of each package.</p><pre class="programlisting">DEPS = cowboy +dep_cowboy_commit = 2.8.0</pre><p>Erlang.mk will fill in the application resource file with all applications found in <code class="literal">DEPS</code>. But not all dependencies are Erlang applications, and not all dependencies need to be a runtime dependency. That’s where the <code class="literal">BUILD_DEPS</code> |