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
8 changes: 8 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
defmodule Corex.MixProject do
use Mix.Project

if Mix.env() != :prod do
for path <- :code.get_path(),
Regex.match?(~r/corex_new-[\w\.\-]+\/ebin$/, List.to_string(path)) do
Code.delete_path(path)
end
end

@version "0.1.0"
@elixir_requirement "~> 1.17"

Expand Down Expand Up @@ -59,6 +66,7 @@ defmodule Corex.MixProject do
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:oeditus_credo, "~> 0.6.3", only: [:dev, :test], runtime: false},
{:floki, "~> 0.38.0", only: :test},
{:corex_new, path: "installer", only: [:docs, :test], runtime: false},
{:phoenix_ecto, "~> 4.0", only: :test},
{:excoveralls, "~> 0.18", only: :test},
{:bandit, "~> 1.0", only: :dev},
Expand Down
Loading