Created
January 22, 2015 18:05
-
-
Save zamith/6ca8818f3be2b9bf58c2 to your computer and use it in GitHub Desktop.
This file contains 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 TheShelf.Mixfile do | |
use Mix.Project | |
def project do | |
[ app: :the_shelf, | |
version: "0.0.1", | |
elixir: "~> 1.0.0-rc1", | |
elixirc_paths: ["lib", "web", "test"], | |
deps: deps(Mix.env) ] | |
end | |
# Configuration for the OTP application | |
def application do | |
[ mod: { TheShelf, [] }, | |
applications: apps(Mix.env) ] | |
end | |
defp deps(:test) do | |
[ | |
{:hound, path: "https://github.com/zamith/hound"}, | |
] ++ apps | |
end | |
defp deps(_), do: deps | |
defp deps do | |
[ | |
{:cowboy, "~> 1.0.0"}, | |
{:ecto, "~> 0.2.0"}, | |
{:phoenix, "0.4.1"}, | |
{:phoenix_haml, "~> 0.0.3"}, | |
{:postgrex, ">= 0.0.0"} | |
] | |
end | |
defp apps(:test) do | |
[ :hound ] ++ apps | |
end | |
defp apps(_), do: apps | |
defp apps do | |
[ :phoenix, | |
:cowboy, | |
:logger, | |
:postgrex, | |
:ecto ] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment