1 defmodule Pleroma.Mixfile do
9 elixirc_paths: elixirc_paths(Mix.env()),
10 compilers: [:phoenix, :gettext] ++ Mix.compilers(),
11 start_permanent: Mix.env() == :prod,
17 # Configuration for the OTP application.
19 # Type `mix help compile.app` for more information.
21 [mod: {Pleroma.Application, []}, extra_applications: [:logger, :runtime_tools, :comeonin]]
24 # Specifies which paths to compile per environment.
25 defp elixirc_paths(:test), do: ["lib", "test/support"]
26 defp elixirc_paths(_), do: ["lib"]
28 # Specifies your project dependencies.
30 # Type `mix help deps` for examples and options.
33 {:phoenix, "~> 1.3.0"},
34 {:phoenix_pubsub, "~> 1.0"},
35 {:phoenix_ecto, "~> 3.2"},
36 {:postgrex, ">= 0.0.0"},
37 {:gettext, "~> 0.11"},
38 {:cowboy, "~> 1.0", override: true},
39 {:comeonin, "~> 3.0"},
40 {:trailing_format_plug, "~> 0.0.5"},
41 {:html_sanitize_ex, "~> 1.3.0-rc1"},
42 {:phoenix_html, "~> 2.10"},
43 {:calendar, "~> 0.16.1"},
45 {:httpoison, "~> 1.1.0"},
47 {:ex_machina, "~> 2.0", only: :test},
48 {:credo, "~> 0.7", only: [:dev, :test]},
49 {:mock, "~> 0.3.0", only: :test}
53 # Aliases are shortcuts or tasks specific to the current project.
54 # For example, to create, migrate and run the seeds file at once:
58 # See the documentation for `Mix` for more info on aliases.
61 "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
62 "ecto.reset": ["ecto.drop", "ecto.setup"],
63 test: ["ecto.create --quiet", "ecto.migrate", "test"]