diff --git a/examples/simple_umbrella_app/apps/app_b/mix.exs b/examples/simple_umbrella_app/apps/app_b/mix.exs index ae05dcc1..db934baa 100644 --- a/examples/simple_umbrella_app/apps/app_b/mix.exs +++ b/examples/simple_umbrella_app/apps/app_b/mix.exs @@ -24,10 +24,6 @@ defmodule AppB.MixProject do # Run "mix help deps" to learn about dependencies. defp deps do - [{:app_a, in_umbrella: true} - # {:dep_from_hexpm, "~> 0.3.0"}, - # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, - # {:sibling_app_in_umbrella, in_umbrella: true} - ] + [{:app_a, in_umbrella: true}] end end diff --git a/lib/mix/tasks/gradient.ex b/lib/mix/tasks/gradient.ex index fbc7c34b..b1b1839a 100644 --- a/lib/mix/tasks/gradient.ex +++ b/lib/mix/tasks/gradient.ex @@ -70,12 +70,12 @@ defmodule Mix.Tasks.Gradient do options = Enum.reduce(options, [], &prepare_option/2) + # Compile the project before the analysis + maybe_compile_project(options) # Load dependencies maybe_load_deps(options) # Start Gradualizer application Application.ensure_all_started(:gradualizer) - # Compile the project before the analysis - maybe_compile_project(options) # Get paths to files files = get_paths(user_paths) |> filter_enabled_paths()