Files
elixir-koans/mix.exs
Ahmed Ismail edf50fdf80 Add credo to the project and:
- Run mix credo --all to identify possible code optimizations
 - Resolve most of the errors generated by credo such as:
   - Numbers larger than 9999 should be written with underscores: 58_127
   - Modules should have a @moduledoc tag
   - Comparison will always return true
2023-11-10 00:57:21 +05:00

25 lines
530 B
Elixir

defmodule Koans.Mixfile do
use Mix.Project
def project do
[app: :elixir_koans,
version: "0.0.1",
elixir: ">= 1.3.0 and < 2.0.0",
elixirc_paths: elixirc_path(Mix.env),
deps: deps()]
end
def application do
[mod: {ElixirKoans, []},
applications: [:file_system, :logger]]
end
defp deps do
[{:file_system, "~> 0.2"},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}]
end
defp elixirc_path(:test), do: ["lib/", "test/support"]
defp elixirc_path(_), do: ["lib/"]
end