Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (45 sloc) 1.47 KB
Code.append_path "deps/relex/ebin"
defmodule Expm.Mixfile do
use Mix.Project
def project do
[ app: :expm,
version: String.strip(System.cmd("git describe --always --tags"),?\n),
deps: deps,
escript_embed_elixir: true,
release_options: [path: "rel"]
]
end
# Configuration for the OTP application
def application do
[applications: [:lager, :lagerex, :hackney, :ranch, :cowboy, :mimetypes, :inets,
:genx, :crypto, :exreloader, :erlpass, :exconfig],
mod: {Expm, []}]
end
defp deps do
[
{:validatex, github: "yrashk/validatex"},
{:hackney, github: "benoitc/hackney"},
{:edown, github: "esl/edown"},
{:genx, github: "yrashk/genx"},
{:cowboy, github: "extend/cowboy"},
{:ranch, github: "extend/ranch"},
{:mimetypes, github: "spawngrid/mimetypes"},
{:lagerex, github: "yrashk/lagerex"},
{:exreloader, github: "yrashk/exreloader"},
{:erlpass, github: "ferd/erlpass", compile: "rebar compile deps_dir=.."},
{:proper, github: "manopapad/proper"},
{:bcrypt, github: "spawngrid/erlang-bcrypt"},
{:relex, github: "yrashk/relex"},
{:exconfig, github: "yrashk/exconfig"},
]
end
if Code.ensure_loaded?(Relex.Release) do
defmodule Release do
use Relex.Release
def name, do: "expm"
def version, do: Mix.project[:version]
def applications, do: [:expm]
def lib_dirs, do: ["deps"]
end
end
end