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]]
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-rc"},
32 {:phoenix_pubsub, "~> 1.0"},
33 {:phoenix_ecto, "~> 3.2"},
34 {:postgrex, ">= 0.0.0"},
35 {:gettext, "~> 0.11"},
39 # Aliases are shortcuts or tasks specific to the current project.
40 # For example, to create, migrate and run the seeds file at once:
44 # See the documentation for `Mix` for more info on aliases.
46 ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
47 "ecto.reset": ["ecto.drop", "ecto.setup"],
48 "test": ["ecto.create --quiet", "ecto.migrate", "test"]]