chessh/mix.exs

45 lines
940 B
Elixir
Raw Normal View History

2022-12-19 03:37:10 -05:00
defmodule Chessh.MixProject do
use Mix.Project
def project do
[
app: :chessh,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
aliases: aliases()
2022-12-19 03:37:10 -05:00
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Chessh.Application, []},
2022-12-28 01:50:22 -05:00
extra_applications: [:logger, :crypto, :ssh, :iex]
2022-12-19 03:37:10 -05:00
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
2022-12-19 03:37:10 -05:00
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:chess, "~> 0.4.1"},
{:ecto, "~> 3.9"},
{:ecto_sql, "~> 3.9"},
{:postgrex, "~> 0.16.5"},
2022-12-28 01:50:22 -05:00
{:bcrypt_elixir, "~> 3.0"},
{:hammer, "~> 6.0"}
2022-12-19 03:37:10 -05:00
]
end
defp aliases do
[
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
2022-12-19 03:37:10 -05:00
end