/
mix.exs
43 lines (40 loc) · 1.21 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
defmodule StateServer.MixProject do
use Mix.Project
def project do
[
app: :state_server,
version: "0.4.10",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
package: [
description: "half gen_server, half gen_statem, all state machine",
licenses: ["MIT"],
files: ~w(lib .formatter.exs mix.exs README* LICENSE* VERSIONS* example),
links: %{"GitHub" => "https://github.com/ityonemo/state_server"}
],
source_url: "https://github.com/ityonemo/state_server/",
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test],
docs: [main: "StateServer", extras: ["README.md"]]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 1.1", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.21.2", only: :dev, runtime: false},
{:excoveralls, "~> 0.11", only: [:dev, :test]},
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:multiverses, "~> 0.4", only: :test, runtime: false}
]
end
end