-
Notifications
You must be signed in to change notification settings - Fork 30
/
mix.exs
65 lines (61 loc) · 1.5 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
54
55
56
57
58
59
60
61
62
63
64
65
defmodule LocalCluster.MixProject do
use Mix.Project
@version "2.1.0"
@url_docs "http://hexdocs.pm/local_cluster"
@url_github "https://github.com/whitfin/local-cluster"
def project do
[
app: :local_cluster,
name: "LocalCluster",
description: "Easy local cluster creation to aid in unit testing",
package: %{
files: [
"lib",
"mix.exs",
"LICENSE"
],
licenses: ["MIT"],
links: %{
"Docs" => @url_docs,
"GitHub" => @url_github
},
maintainers: ["Isaac Whitfield"]
},
version: @version,
elixir: "~> 1.7",
deps: deps(),
docs: [
main: "LocalCluster",
source_ref: "v#{@version}",
source_url: @url_github
],
aliases: [
test: "test --no-start"
],
test_coverage: [
tool: ExCoveralls
],
preferred_cli_env: [
docs: :docs,
credo: :lint
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :global_flags]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Production dependencies
{:global_flags, "~> 1.0"},
# Local dependencies, not shipped with the app
{:credo, "~> 1.7", optional: true, only: [:lint]},
{:ex_doc, "~> 0.29", optional: true, only: [:docs]},
{:excoveralls, "~> 0.15", optional: true, only: [:cover]}
]
end
end