-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
53 lines (47 loc) · 1.26 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
defmodule Ravel.Mixfile do
use Mix.Project
@name "Ravel"
@version "0.0.6"
@docs_url "http://hexdocs.pm/ravel"
@repository_url "https://github.com/revati/ravel"
def project do
[
app: :ravel,
version: @version,
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package,
description: "Extendable validation for Elixir",
deps: deps,
name: @name,
test_coverage: [tool: ExCoveralls],
docs: [
source_ref: "v#{@version}",
main: @name,
canonical: @docs_url,
source_url: @repository_url,
extras: ["README.md"]
]
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:excoveralls, "~> 0.5.1", only: [:dev, :test]},
{:ex_doc, "~> 0.11.4", only: :docs},
{:earmark, "~> 0.2.1", only: :docs},
{:inch_ex, "~> 0.5.1", only: :docs}
]
end
defp package do
[
maintainers: ["Roberts Gulans"],
licenses: ["MIT"],
links: %{github: @repository_url},
files: ~w(lib) ++ ~w(LICENSE.md mix.exs README.md)
]
end
end