1
0
Fork 0
mirror of https://github.com/edgurgel/httparrot synced 2025-04-06 00:32:34 -04:00
httparrot/mix.exs
2014-01-24 16:39:39 -03:00

32 lines
785 B
Elixir

defmodule Httparrot.Mixfile do
use Mix.Project
def project do
[ app: :httparrot,
version: "0.0.2",
name: "HTTParrot",
elixir: "~> 0.11.2 or ~> 0.12.0",
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", ref: "c9df36f07b2089a73ab6b32074c01728f1e5a2e1" } ]
end
defp deps(:test) do
deps(:dev) ++
[ {:meck, github: "eproxus/meck", tag: "0.8.1" } ]
end
defp deps(_), do: deps(:dev)
end