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.

74 lines
2.1KB

  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_aws, "~> 2.0"},
  46. {:ex_aws_s3, "~> 2.0"},
  47. {:earmark, "~> 1.2"},
  48. {:ex_machina, "~> 2.2", only: :test},
  49. {:credo, "~> 0.9.3", only: [:dev, :test]},
  50. {:mock, "~> 0.3.1", only: :test},
  51. {:crypt,
  52. git: "https://github.com/msantos/crypt", ref: "1f2b58927ab57e72910191a7ebaeff984382a1d3"}
  53. ]
  54. end
  55. # Aliases are shortcuts or tasks specific to the current project.
  56. # For example, to create, migrate and run the seeds file at once:
  57. #
  58. # $ mix ecto.setup
  59. #
  60. # See the documentation for `Mix` for more info on aliases.
  61. defp aliases do
  62. [
  63. "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
  64. "ecto.reset": ["ecto.drop", "ecto.setup"],
  65. test: ["ecto.create --quiet", "ecto.migrate", "test"]
  66. ]
  67. end
  68. end