aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/deps.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/deps.asciidoc')
-rw-r--r--doc/src/guide/deps.asciidoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/guide/deps.asciidoc b/doc/src/guide/deps.asciidoc
index 066a3d8..081f4f7 100644
--- a/doc/src/guide/deps.asciidoc
+++ b/doc/src/guide/deps.asciidoc
@@ -49,6 +49,15 @@ fetch and compile Cowboy. Erlang.mk will also ensure Cowboy
is available whenever you use the shell, run tests and any
other operations.
+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.
+
+[source,make]
+DEPS = cowboy
+dep_cowboy_commit = 2.8.0
+
Erlang.mk will fill in the application resource file with
all applications found in `DEPS`. But not all dependencies
are Erlang applications, and not all dependencies need to