diff options
author | Loïc Hoguin <[email protected]> | 2013-07-02 19:07:21 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-07-02 19:07:21 +0200 |
commit | c62cedbb530a629f9be7ff84630035eede9506b6 (patch) | |
tree | 66c1e7e136a83a02195590efca1ef34461e5319a | |
parent | 91a4ff4a58449256d30f954b89447fdd1a4d7d21 (diff) | |
download | erlang.mk-c62cedbb530a629f9be7ff84630035eede9506b6.tar.gz erlang.mk-c62cedbb530a629f9be7ff84630035eede9506b6.tar.bz2 erlang.mk-c62cedbb530a629f9be7ff84630035eede9506b6.zip |
Add support for rebar powered deps
Sets a newly repaired environment variable that rebar checks
to determine the deps folder, REBAR_DEPS_DIR. This way rebar
can now use the erlang.mk deps folder for its own deps.
This is of course incompatible with all rebar versions before
https://github.com/rebar/rebar/commit/620c4b01c6e59d47e92ea069f8510b8cb482ebae
but compatibility should increase with repositories getting
a newer rebar.
-rw-r--r-- | erlang.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ gen_verbose = $(gen_verbose_$(V)) DEPS_DIR ?= $(CURDIR)/deps export DEPS_DIR +REBAR_DEPS_DIR = $(DEPS_DIR) +export REBAR_DEPS_DIR + ALL_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(DEPS)) ALL_TEST_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(TEST_DEPS)) |