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-rc"},
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.0.0"},
40 {:calendar, "~> 0.16.1"},
41 {:mix_test_watch, "~> 0.2", only: :dev}]
44 # Aliases are shortcuts or tasks specific to the current project.
45 # For example, to create, migrate and run the seeds file at once:
49 # See the documentation for `Mix` for more info on aliases.
51 ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
52 "ecto.reset": ["ecto.drop", "ecto.setup"],
53 "test": ["ecto.create --quiet", "ecto.migrate", "test"]]