philomena/mix.exs

97 lines
2.7 KiB
Elixir
Raw Normal View History

2019-08-15 02:32:32 +02:00
defmodule Philomena.MixProject do
use Mix.Project
def project do
[
app: :philomena,
2020-08-03 21:37:02 +02:00
version: "1.1.0",
2019-08-15 02:32:32 +02:00
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
2020-08-08 02:23:36 +02:00
deps: deps(),
dialyzer: [plt_add_apps: [:mix]]
2019-08-15 02:32:32 +02:00
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {Philomena.Application, []},
2020-07-29 00:27:58 +02:00
extra_applications: [:logger, :canada, :runtime_tools]
2019-08-15 02:32:32 +02:00
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
2020-04-27 21:18:43 +02:00
{:phoenix, "~> 1.5"},
{:phoenix_pubsub, "~> 2.0"},
2021-01-21 20:46:23 +01:00
{:phoenix_ecto, "~> 4.2"},
{:ecto_sql, "~> 3.5"},
2019-08-15 02:32:32 +02:00
{:postgrex, ">= 0.0.0"},
2020-04-27 21:18:43 +02:00
{:phoenix_html, "~> 2.14"},
2021-01-21 20:46:23 +01:00
{:phoenix_live_reload, "~> 1.3", only: :dev},
{:gettext, "~> 0.18"},
{:jason, "~> 1.2"},
{:ranch, "~> 1.6", override: true},
2020-06-12 19:08:38 +02:00
{:plug_cowboy, "~> 2.3"},
2020-04-27 21:18:43 +02:00
{:phoenix_slime, "~> 0.13"},
2020-10-26 22:01:29 +01:00
{:phoenix_pubsub_redis, "~> 3.0"},
2020-04-27 21:18:43 +02:00
{:ecto_network, "~> 1.3"},
2021-01-21 20:46:23 +01:00
{:bcrypt_elixir, "~> 2.3"},
{:pot, "~> 1.0"},
{:secure_compare, "~> 0.1"},
{:elastix, "~> 0.8"},
{:nimble_parsec, "~> 1.1"},
{:canary, "~> 1.1"},
{:scrivener_ecto, "~> 2.7"},
2019-11-13 05:49:37 +01:00
{:pbkdf2, "~> 2.0"},
2021-01-21 20:46:23 +01:00
{:qrcode, "~> 0.1"},
{:redix, "~> 0.10.0"},
{:bamboo, "~> 1.6"},
{:bamboo_smtp, "~> 3.1"},
2020-04-27 21:18:43 +02:00
{:remote_ip, "~> 0.2"},
2021-01-21 20:46:23 +01:00
{:briefly, "~> 0.3"},
{:phoenix_mtm, "~> 1.0"},
{:yaml_elixir, "~> 2.5"},
2020-05-13 20:26:10 +02:00
{:ranch_connection_drainer, "~> 0.1"},
2021-01-21 20:46:23 +01:00
{:tesla, "~> 1.4"},
2020-05-13 20:26:10 +02:00
{:castore, "~> 0.1"},
2021-01-21 20:46:23 +01:00
{:mint, "~> 1.2"},
{:exq, "~> 0.14"},
2020-05-20 20:23:57 +02:00
{:dialyxir, "~> 1.0", only: :dev, runtime: false}
2019-08-15 02:32:32 +02:00
]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to create, migrate and run the seeds file at once:
#
# $ mix ecto.setup
#
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
2019-12-02 16:58:12 +01:00
"ecto.setup": ["ecto.create", "ecto.load", "run priv/repo/seeds.exs"],
2020-01-11 05:20:19 +01:00
"ecto.setup_dev": [
"ecto.create",
"ecto.load",
"run priv/repo/seeds.exs",
"run priv/repo/seeds_development.exs"
],
2019-08-15 02:32:32 +02:00
"ecto.reset": ["ecto.drop", "ecto.setup"],
2019-12-02 16:02:48 +01:00
"ecto.migrate": ["ecto.migrate", "ecto.dump"],
"ecto.rollback": ["ecto.rollback", "ecto.dump"]
2019-08-15 02:32:32 +02:00
]
end
end