From 074e5f9be78f802570ee6d00a5b28aa7cb9afefd Mon Sep 17 00:00:00 2001 From: coonce Date: Sun, 10 Sep 2017 11:47:40 -0500 Subject: [PATCH] elixir.json: add bin to path (#1695) The bin directory includes all the executables that are shimmed as well as a 'mix' file needed for running 'iex -S mix'. Without the 'mix' file, 'iex' tries to parse 'mix.cmd' as Elixir code. --- elixir.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/elixir.json b/elixir.json index 6d9b3bd101..c9b41f97bd 100644 --- a/elixir.json +++ b/elixir.json @@ -4,11 +4,8 @@ "depends": "erlang", "url": "https://github.com/elixir-lang/elixir/releases/download/v1.5.1/Precompiled.zip", "hash": "84af6eb4cb68d0f60b3edf4e275eb024f8eb8cccae91b18c2bbbc4b70a88934f", - "bin": [ - "bin\\elixir.bat", - "bin\\elixirc.bat", - "bin\\iex.bat", - "bin\\mix.bat" + "env_add_path": [ + "bin" ], "checkver": { "github": "https://github.com/elixir-lang/elixir"