From fe225610451e5a56c1bcee220e55c45fd95bc9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 30 Nov 2018 19:35:58 +0100 Subject: Document that DEPS has precedence over TEST_DEPS etc. And a workaround to force a specific version to be downloaded. --- doc/src/guide/deps.asciidoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/src/guide/deps.asciidoc b/doc/src/guide/deps.asciidoc index 3ba7a39..9e78826 100644 --- a/doc/src/guide/deps.asciidoc +++ b/doc/src/guide/deps.asciidoc @@ -115,6 +115,14 @@ SHELL_DEPS = tddreloader All these will be documented in more details in their respective chapters. +Note that these additional types of dependencies will only +be fetched after normal dependencies by default. You can +force a dependency to be downloaded first by extending the +target `deps::` before including 'erlang.mk', for example: + +[source,make] +deps:: $(CURDIR)/deps/triq + ==== Modifying the dependency source or version By default, Erlang.mk will look into its package index to -- cgit v1.2.3