From 79b60e1f7a9f5428192e23b2ca8416f870d64832 Mon Sep 17 00:00:00 2001 From: Beatriz Chagas Date: Tue, 27 Sep 2022 16:04:00 -0300 Subject: [PATCH 1/2] Add support for umbrella projects --- lib/envy.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/envy.ex b/lib/envy.ex index d27a46a..9b7492f 100644 --- a/lib/envy.ex +++ b/lib/envy.ex @@ -51,7 +51,9 @@ defmodule Envy do access to dependencies. """ def reload_config do - Mix.Config.read!("config/config.exs") |> Mix.Config.persist + Mix.Project.config()[:config_path] + |> Mix.Config.read!() + |> Mix.Config.persist end @doc """ From a9922e7018df5174a40966672c688b56782647d8 Mon Sep 17 00:00:00 2001 From: Beatriz Chagas Date: Tue, 27 Sep 2022 16:05:00 -0300 Subject: [PATCH 2/2] Format `mix.lock` After running mix deps.get, mix.lock was updated automatically. --- mix.lock | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mix.lock b/mix.lock index 48267c8..0464c4e 100644 --- a/mix.lock +++ b/mix.lock @@ -1,2 +1,4 @@ -%{"earmark": {:hex, :earmark, "0.1.19", "ffec54f520a11b711532c23d8a52b75a74c09697062d10613fa2dbdf8a9db36e", [:mix], []}, - "ex_doc": {:hex, :ex_doc, "0.10.0", "f49c237250b829df986486b38f043e6f8e19d19b41101987f7214543f75947ec", [:mix], [{:earmark, "~> 0.1.17 or ~> 0.2", [hex: :earmark, optional: true]}]}} +%{ + "earmark": {:hex, :earmark, "0.1.19", "ffec54f520a11b711532c23d8a52b75a74c09697062d10613fa2dbdf8a9db36e", [:mix], [], "hexpm", "db85f989ba3030d40d3a901d7eebbf926ee07355bf6113d730b8aaf9404a6bd7"}, + "ex_doc": {:hex, :ex_doc, "0.10.0", "f49c237250b829df986486b38f043e6f8e19d19b41101987f7214543f75947ec", [:mix], [{:earmark, "~> 0.1.17 or ~> 0.2", [hex: :earmark, repo: "hexpm", optional: true]}], "hexpm", "3d9f15777aa3fb62700d5984eb09ceeb6c1574d61be0f70801e3390e36942b35"}, +}