Linting rule only for dev and test

Production build broke because our custom lint rule was compiled. The
credo linter is not available and not necessary in production.

Solution: create separate directory for dev tools.
This commit is contained in:
Firehose Bot
2026-03-24 14:41:58 +00:00
parent 04a736765d
commit cf7df3111f
3 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ defmodule Firehose.MixProject do
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:test), do: ["lib", "lib_dev", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "lib_dev"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.