Created
July 1, 2015 12:50
-
-
Save jordi-chacon/624610f2a42a68aa8e64 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 MyService.Mixfile do | |
use Mix.Project | |
def project do | |
[app: :my_service, | |
version: "0.0.4", | |
elixir: "~> 1.0", | |
elixirc_paths: elixirc_paths(Mix.env), | |
compilers: [:phoenix] ++ Mix.compilers, | |
build_embedded: Mix.env == :prod, | |
start_permanent: Mix.env == :prod, | |
deps: deps] | |
end | |
def application do | |
[mod: {MyService, []}, | |
applications: [:httpex | |
], | |
included_applications: [:storex | |
] | |
] | |
end | |
defp elixirc_paths(:test), do: ["lib", "web", "test/support"] | |
defp elixirc_paths(_), do: ["lib", "web"] | |
defp deps do | |
[{:exrm, "~> 0.16.0"}, | |
{:folsom, git: "[email protected]:boundary/folsom", branch: "master", override: true}, | |
{:folsomite, git: "[email protected]:campanja/folsomite", branch: "master"}, | |
{:httpex, git: "[email protected]:.../httpex", branch: "master"}, | |
{:meck, "~> 0.8.2", only: :test, override: true}, | |
{:storex, git: "[email protected]:.../storex", branch: "master"}] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment