From f53fd8b42729937213a813622f6d4b54ebc09f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 30 Nov 2018 14:05:03 +0100 Subject: 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. --- core/deps.mk | 2 ++ index/elixir.mk | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 index/elixir.mk 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 diff --git a/index/elixir.mk b/index/elixir.mk new file mode 100644 index 0000000..d1d4f05 --- /dev/null +++ b/index/elixir.mk @@ -0,0 +1,7 @@ +PACKAGES += elixir +pkg_elixir_name = elixir +pkg_elixir_description = Elixir is a dynamic, functional language designed for building scalable and maintainable applications +pkg_elixir_homepage = https://elixir-lang.org/ +pkg_elixir_fetch = git +pkg_elixir_repo = https://github.com/elixir-lang/elixir +pkg_elixir_commit = master -- cgit v1.2.3