32 lines
637 B
Elixir
32 lines
637 B
Elixir
|
defmodule AdventOfCode.MixProject do
|
||
|
use Mix.Project
|
||
|
|
||
|
def project do
|
||
|
[
|
||
|
app: :advent_of_code,
|
||
|
version: "0.1.0",
|
||
|
elixir: "~> 1.11",
|
||
|
start_permanent: Mix.env() == :prod,
|
||
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||
|
deps: deps()
|
||
|
]
|
||
|
end
|
||
|
|
||
|
# Run "mix help compile.app" to learn about applications.
|
||
|
def application do
|
||
|
[
|
||
|
extra_applications: [:logger, :eex]
|
||
|
]
|
||
|
end
|
||
|
|
||
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
||
|
defp elixirc_paths(_), do: ["lib"]
|
||
|
|
||
|
# Run "mix help deps" to learn about dependencies.
|
||
|
defp deps do
|
||
|
[
|
||
|
{:progress_bar, "~> 2.0"}
|
||
|
]
|
||
|
end
|
||
|
end
|