An event management platform. https://upshot.events/
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.

mix.exs 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. defmodule Upshot.MixProject do
  2. use Mix.Project
  3. def project do
  4. [
  5. app: :upshot,
  6. version: "0.1.0",
  7. elixir: "~> 1.5",
  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. [
  20. mod: {Upshot.Application, []},
  21. extra_applications: [:logger, :runtime_tools]
  22. ]
  23. end
  24. # Specifies which paths to compile per environment.
  25. defp elixirc_paths(:test), do: ["lib", "test/support"]
  26. defp elixirc_paths(_), do: ["lib"]
  27. # Specifies your project dependencies.
  28. #
  29. # Type `mix help deps` for examples and options.
  30. defp deps do
  31. [
  32. {:phoenix, "~> 1.4.1"},
  33. {:phoenix_pubsub, "~> 1.1"},
  34. {:phoenix_ecto, "~> 4.0"},
  35. {:ecto_sql, "~> 3.0"},
  36. {:postgrex, ">= 0.0.0"},
  37. {:phoenix_html, "~> 2.11"},
  38. {:phoenix_live_reload, "~> 1.2", only: :dev},
  39. {:gettext, "~> 0.11"},
  40. {:jason, "~> 1.0"},
  41. {:plug_cowboy, "~> 2.0"}
  42. ]
  43. end
  44. # Aliases are shortcuts or tasks specific to the current project.
  45. # For example, to create, migrate and run the seeds file at once:
  46. #
  47. # $ mix ecto.setup
  48. #
  49. # See the documentation for `Mix` for more info on aliases.
  50. defp aliases do
  51. [
  52. "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
  53. "ecto.reset": ["ecto.drop", "ecto.setup"],
  54. test: ["ecto.create --quiet", "ecto.migrate", "test"]
  55. ]
  56. end
  57. end