1 defmodule TechRadarEditor.Mixfile do
5 [app: :tech_radar_editor,
8 elixirc_paths: elixirc_paths(Mix.env),
9 compilers: [:phoenix, :gettext] ++ Mix.compilers,
10 build_embedded: Mix.env == :prod,
11 start_permanent: Mix.env == :prod,
16 # Configuration for the OTP application.
18 # Type `mix help compile.app` for more information.
20 [mod: {TechRadarEditor, []},
21 applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :gettext,
22 :phoenix_ecto, :postgrex]]
25 # Specifies which paths to compile per environment.
26 defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
27 defp elixirc_paths(_), do: ["lib", "web"]
29 # Specifies your project dependencies.
31 # Type `mix help deps` for examples and options.
33 [{:phoenix, "~> 1.2.4"},
34 {:phoenix_pubsub, "~> 1.0"},
35 {:phoenix_ecto, "~> 3.0"},
36 {:postgrex, ">= 0.0.0"},
37 {:phoenix_html, "~> 2.6"},
38 {:phoenix_live_reload, "~> 1.0", only: :dev},
39 {:gettext, "~> 0.11"},
41 {:distillery, "~> 1.0"}]
44 # Aliases are shortcuts or tasks specific to the current project.
45 # For example, to create, migrate and run the seeds file at once:
49 # See the documentation for `Mix` for more info on aliases.
51 ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
52 "ecto.reset": ["ecto.drop", "ecto.setup"],
53 "test": ["ecto.create --quiet", "ecto.migrate", "test"]]