aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-30 14:05:03 +0100
committerLoïc Hoguin <[email protected]>2018-11-30 14:05:03 +0100
commitf53fd8b42729937213a813622f6d4b54ebc09f4e (patch)
tree0dd48699edf4e2d3144061d6e087f5e08de48844 /core/deps.mk
parentbfd3035ee9a0603ca202ef1d702c241d00b3adf3 (diff)
downloaderlang.mk-f53fd8b42729937213a813622f6d4b54ebc09f4e.tar.gz
erlang.mk-f53fd8b42729937213a813622f6d4b54ebc09f4e.tar.bz2
erlang.mk-f53fd8b42729937213a813622f6d4b54ebc09f4e.zip
Support Elixir as a dependency via ELIXIR_PATCH=1
For example: DEPS = elixir ELIXIR_PATCH = 1 include erlang.mk A language test suite will soon be added with a test for this.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 0efde17..b55e31c 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -665,6 +665,8 @@ ifeq ($(filter $(1),$(NO_AUTOPATCH)),)
echo " PATCH Downloading rabbitmq-codegen"; \
git clone https://github.com/rabbitmq/rabbitmq-codegen.git $(DEPS_DIR)/rabbitmq-codegen; \
fi \
+ elif [ "$1" = "elixir" -a "$(ELIXIR_PATCH)" ]; then \
+ ln -s lib/elixir/ebin $(DEPS_DIR)/elixir/; \
else \
$$(call dep_autopatch,$(DEP_NAME)) \
fi