Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5KB

  1. defmodule Pleroma.Mixfile do
  2. use Mix.Project
  3. def project do
  4. [app: :pleroma,
  5. version: "0.0.1",
  6. elixir: "~> 1.4",
  7. elixirc_paths: elixirc_paths(Mix.env),
  8. compilers: [:phoenix, :gettext] ++ Mix.compilers,
  9. start_permanent: Mix.env == :prod,
  10. aliases: aliases(),
  11. deps: deps()]
  12. end
  13. # Configuration for the OTP application.
  14. #
  15. # Type `mix help compile.app` for more information.
  16. def application do
  17. [mod: {Pleroma.Application, []},
  18. extra_applications: [:logger, :runtime_tools, :comeonin]]
  19. end
  20. # Specifies which paths to compile per environment.
  21. defp elixirc_paths(:test), do: ["lib", "test/support"]
  22. defp elixirc_paths(_), do: ["lib"]
  23. # Specifies your project dependencies.
  24. #
  25. # Type `mix help deps` for examples and options.
  26. defp deps do
  27. [{:phoenix, "~> 1.3.0-rc"},
  28. {:phoenix_pubsub, "~> 1.0"},
  29. {:phoenix_ecto, "~> 3.2"},
  30. {:postgrex, ">= 0.0.0"},
  31. {:gettext, "~> 0.11"},
  32. {:cowboy, "~> 1.0"},
  33. {:comeonin, "~> 3.0"},
  34. {:mix_test_watch, "~> 0.2", only: :dev}]
  35. end
  36. # Aliases are shortcuts or tasks specific to the current project.
  37. # For example, to create, migrate and run the seeds file at once:
  38. #
  39. # $ mix ecto.setup
  40. #
  41. # See the documentation for `Mix` for more info on aliases.
  42. defp aliases do
  43. ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
  44. "ecto.reset": ["ecto.drop", "ecto.setup"],
  45. "test": ["ecto.create --quiet", "ecto.migrate", "test"]]
  46. end
  47. end