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