Created
May 11, 2016 20:10
-
-
Save pareeohnos/06360912558eff598e51a8e3c12e359b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Inova.Mixfile do | |
| use Mix.Project | |
| def project do | |
| [app: :inova, | |
| version: "0.0.1", | |
| elixir: "~> 1.0", | |
| elixirc_paths: elixirc_paths(Mix.env), | |
| compilers: [:phoenix, :gettext] ++ Mix.compilers, | |
| build_embedded: Mix.env == :prod, | |
| start_permanent: Mix.env == :prod, | |
| aliases: aliases, | |
| deps: deps] | |
| end | |
| # Configuration for the OTP application. | |
| # | |
| # Type `mix help compile.app` for more information. | |
| def application do | |
| [mod: {Inova, []}, | |
| applications: [:phoenix, :phoenix_html, :cowboy, :logger, :gettext, | |
| :phoenix_ecto, :postgrex, :comeonin, :tzdata, :cloak, :timex_ecto, :canary, :canada, :arc, :arc_ecto]] | |
| end | |
| # Specifies which paths to compile per environment. | |
| defp elixirc_paths(:test), do: ["lib", "web", "test/support"] | |
| defp elixirc_paths(_), do: ["lib", "web"] | |
| # Specifies your project dependencies. | |
| # | |
| # Type `mix help deps` for examples and options. | |
| defp deps do | |
| [{:phoenix, "~> 1.1.4"}, | |
| {:postgrex, ">= 0.0.0"}, | |
| {:phoenix_ecto, "~> 2.0"}, | |
| {:phoenix_html, "~> 2.4"}, | |
| {:phoenix_live_reload, "~> 1.0", only: :dev}, | |
| {:gettext, "~> 0.9"}, | |
| {:cowboy, "~> 1.0"}, | |
| {:exrm, "~> 1.0.2"}, | |
| {:cloak, "~> 0.2"}, | |
| {:comeonin, "~> 2.0"}, | |
| {:timex, "~> 2.1"}, | |
| {:timex_ecto, "~> 1.0"}, | |
| {:canary, "~> 0.14.1"}, | |
| {:canada, "~> 1.0.0"}, | |
| {:arc, "~> 0.5.2"}, | |
| {:arc_ecto, "~> 0.3.2"}] | |
| end | |
| # Aliases are shortcut or tasks specific to the current project. | |
| # For example, to create, migrate and run the seeds file at once: | |
| # | |
| # $ mix ecto.setup | |
| # | |
| # See the documentation for `Mix` for more info on aliases. | |
| defp aliases do | |
| ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"], | |
| "ecto.reset": ["ecto.drop", "ecto.setup"]] | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment