From 4d3f592a0ebc9d2cb4077b02546bc273124987f9 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Tue, 20 Feb 2018 13:03:10 -0500 Subject: [PATCH] Start chain with value --- rel/config.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rel/config.exs b/rel/config.exs index 999a06c..ed1d6a5 100644 --- a/rel/config.exs +++ b/rel/config.exs @@ -2,7 +2,8 @@ # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. -Path.join(["rel", "plugins", "*.exs"]) +["rel", "plugins", "*.exs"] +|> Path.join() |> Path.wildcard() |> Enum.map(&Code.eval_file(&1))