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.

69 lines
1.9KB

  1. defmodule Pleroma.Mixfile do
  2. use Mix.Project
  3. def project do
  4. [
  5. app: :pleroma,
  6. version: "0.9.0",
  7. elixir: "~> 1.4",
  8. elixirc_paths: elixirc_paths(Mix.env()),
  9. compilers: [:phoenix, :gettext] ++ Mix.compilers(),
  10. start_permanent: Mix.env() == :prod,
  11. aliases: aliases(),
  12. deps: deps()
  13. ]
  14. end
  15. # Configuration for the OTP application.
  16. #
  17. # Type `mix help compile.app` for more information.
  18. def application do
  19. [mod: {Pleroma.Application, []}, extra_applications: [:logger, :runtime_tools, :comeonin]]
  20. end
  21. # Specifies which paths to compile per environment.
  22. defp elixirc_paths(:test), do: ["lib", "test/support"]
  23. defp elixirc_paths(_), do: ["lib"]
  24. # Specifies your project dependencies.
  25. #
  26. # Type `mix help deps` for examples and options.
  27. defp deps do
  28. [
  29. {:phoenix, "~> 1.3.3"},
  30. {:phoenix_pubsub, "~> 1.0.2"},
  31. {:phoenix_ecto, "~> 3.3"},
  32. {:postgrex, ">= 0.13.5"},
  33. {:gettext, "~> 0.15"},
  34. {:cowboy, "~> 1.1.2", override: true},
  35. {:comeonin, "~> 4.1.1"},
  36. {:pbkdf2_elixir, "~> 0.12.3"},
  37. {:trailing_format_plug, "~> 0.0.7"},
  38. {:html_sanitize_ex, "~> 1.3.0"},
  39. {:phoenix_html, "~> 2.10"},
  40. {:calendar, "~> 0.17.4"},
  41. {:cachex, "~> 3.0.2"},
  42. {:httpoison, "~> 1.2.0"},
  43. {:jason, "~> 1.0"},
  44. {:mogrify, "~> 0.6.1"},
  45. {:ex_machina, "~> 2.2", only: :test},
  46. {:credo, "~> 0.9.3", only: [:dev, :test]},
  47. {:mock, "~> 0.3.1", only: :test}
  48. ]
  49. end
  50. # Aliases are shortcuts or tasks specific to the current project.
  51. # For example, to create, migrate and run the seeds file at once:
  52. #
  53. # $ mix ecto.setup
  54. #
  55. # See the documentation for `Mix` for more info on aliases.
  56. defp aliases do
  57. [
  58. "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
  59. "ecto.reset": ["ecto.drop", "ecto.setup"],
  60. test: ["ecto.create --quiet", "ecto.migrate", "test"]
  61. ]
  62. end
  63. end