diff options
author | Loïc Hoguin <[email protected]> | 2025-06-19 16:19:34 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-06-19 16:19:34 +0200 |
commit | ce2a1ba5ed37586dacbf1def01f23a9f550767e1 (patch) | |
tree | 3fed4908c67d588e2202d0e11d9c3e2ea9398d39 /core/elixir.mk | |
parent | e13b4c71d764cc92a1e5a92f5f2dd1c1f59b4a3c (diff) | |
download | erlang.mk-ce2a1ba5ed37586dacbf1def01f23a9f550767e1.tar.gz erlang.mk-ce2a1ba5ed37586dacbf1def01f23a9f550767e1.tar.bz2 erlang.mk-ce2a1ba5ed37586dacbf1def01f23a9f550767e1.zip |
Fix Mix autopatch being enabled by default
By default Erlang projects should not have Elixir enabled.
Diffstat (limited to 'core/elixir.mk')
-rw-r--r-- | core/elixir.mk | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/elixir.mk b/core/elixir.mk index eb5c487..cd62e78 100644 --- a/core/elixir.mk +++ b/core/elixir.mk @@ -2,12 +2,6 @@ # Copyright (c) 2024, Loïc Hoguin <[email protected]> # This file is part of erlang.mk and subject to the terms of the ISC License. -# Elixir is automatically enabled in all cases except when -# an Erlang project uses an Elixir dependency. In that case -# $(ELIXIR) must be set explicitly. -ELIXIR ?= $(if $(filter elixir,$(BUILD_DEPS) $(DEPS)),dep,$(if $(EX_FILES),system,disable)) -export ELIXIR - ifeq ($(ELIXIR),system) # We expect 'elixir' to be on the path. ELIXIR_BIN ?= $(shell readlink -f `which elixir`) |