Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/mix/lib/mix/tasks/compile.elixir.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ defmodule Mix.Tasks.Compile.Elixir do
dest = Mix.Project.compile_path(project)
srcs = project[:elixirc_paths]

unless is_list(srcs) do
Mix.raise ":elixirc_paths should be a list of paths, got: #{inspect(srcs)}"
end

manifest = manifest()
configs = Mix.Project.config_files ++ Mix.Tasks.Compile.Erlang.manifests
force = opts[:force] || Mix.Utils.stale?(configs, [manifest])
Expand Down