From 18101eb9ad0ef9e739927d596d30ebe9d66f783a Mon Sep 17 00:00:00 2001 From: "Sebastian A. Espindola" Date: Fri, 13 Jan 2017 15:08:17 -0300 Subject: [PATCH] fix function calls ambiguities in mix config --- mix.exs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mix.exs b/mix.exs index 9b10f13..4596e85 100644 --- a/mix.exs +++ b/mix.exs @@ -12,16 +12,16 @@ defmodule EctoStateMachine.Mixfile do elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, - deps: deps, + deps: deps(), source_url: @project_url, homepage_url: @project_url, description: "State machine pattern for Ecto. I tried to make it similar as possible to ruby's gem 'aasm'", - package: package + package: package() ] end - defp elixirc_paths(:test), do: elixirc_paths ++ ["test/support", "test/dummy"] - defp elixirc_paths(_), do: elixirc_paths + defp elixirc_paths(:test), do: elixirc_paths() ++ ["test/support", "test/dummy"] + defp elixirc_paths(_), do: elixirc_paths() defp elixirc_paths, do: ["lib"] def application do @@ -30,8 +30,8 @@ defmodule EctoStateMachine.Mixfile do ] end - def app_list(:test), do: app_list ++ [:ecto, :postgrex, :ex_machina] - def app_list(_), do: app_list + def app_list(:test), do: app_list() ++ [:ecto, :postgrex, :ex_machina] + def app_list(_), do: app_list() def app_list, do: [:logger] defp deps do