1
0
Fork 0
mirror of https://github.com/edgurgel/httparrot synced 2025-04-05 08:12:31 -04:00
httparrot/mix.exs
2014-04-28 22:58:45 +12:00

32 lines
773 B
Elixir

defmodule Httparrot.Mixfile do
use Mix.Project
def project do
[ app: :httparrot,
version: "0.1.0",
name: "HTTParrot",
elixir: "~> 0.13.1",
deps: deps(Mix.env) ]
end
def application do
[ applications: [ :compiler,
:syntax_tools,
:cowboy,
:jsex ],
mod: { HTTParrot, [] },
env: [ http_port: 8080, ssl: true, https_port: 8433 ] ]
end
defp deps(:dev) do
[ {:cowboy, github: "extend/cowboy", tag: "0.9.0" },
{:jsex, github: "talentdeficit/jsex", tag: "v1.0.2" } ]
end
defp deps(:test) do
deps(:dev) ++
[ {:meck, github: "eproxus/meck", ref: "69f02255a8219185bf55da303981d86886b3c24b" } ]
end
defp deps(_), do: deps(:dev)
end