2022-09-21 09:19:53 -04:00
|
|
|
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
|
|
|
|
[
|
2022-09-21 09:19:53 -04:00
|
|
|
{:advent_of_code_utils, "~> 1.0"},
|
|
|
|
{:benchee, "~> 1.0", only: :dev},
|
|
|
|
{:exla, "~> 0.1.0-dev", github: "elixir-nx/nx", sparse: "exla"},
|
2022-09-21 09:19:53 -04:00
|
|
|
{:libgraph, "~> 0.13.3"},
|
2022-09-21 09:19:53 -04:00
|
|
|
{:nimble_parsec, "~> 1.0"},
|
2022-09-21 09:19:53 -04:00
|
|
|
{:nx, "~> 0.1.0-dev", github: "elixir-nx/nx", sparse: "nx", override: true},
|
2022-09-21 09:19:53 -04:00
|
|
|
{:rexbug, ">= 1.0.0"},
|
|
|
|
{:timex, "~> 3.7.6"}
|
2022-09-21 09:19:53 -04:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|