Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

51 行
1.4KB

  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]]
  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. end
  34. # Aliases are shortcuts or tasks specific to the current project.
  35. # For example, to create, migrate and run the seeds file at once:
  36. #
  37. # $ mix ecto.setup
  38. #
  39. # See the documentation for `Mix` for more info on aliases.
  40. defp aliases do
  41. ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
  42. "ecto.reset": ["ecto.drop", "ecto.setup"],
  43. "test": ["ecto.create --quiet", "ecto.migrate", "test"]]
  44. end
  45. end