-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
63 lines (52 loc) · 1.56 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
defmodule Expline.Mixfile do
use Mix.Project
def project do
[app: :expline,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex parameters
description: description(),
package: package(),
# Type-checking flags
dialyzer: dialyzer(),
# Generated documentation parameters
name: "Expline",
source_url: "https://github.com/isaacsanders/expline",
docs: docs()]
end
def application do
[extra_applications: []]
end
def description do
"""
A cubic spline interpolation library for Elixir.
Includes a GenServer. All required Linear Algebra modules are built for the
library, but may be extracted into an independent package at some point.
"""
end
def package do
[name: :expline,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
licenses: ["MIT"],
maintainers: ["Isaac Sanders"],
links: %{"GitHub" => "https://github.com/isaacsanders/expline"}]
end
def dialyzer do
[flags: [:error_handling, :no_behaviours, :no_contracts, :no_fail_call,
:no_fun_app, :no_improper_lists, :no_match, :no_missing_calls, :no_opaque,
:no_return, :no_undefined_callbacks, :no_unused, :race_conditions,
:underspecs, :unknown]]
end
def docs do
[main: "Expline",
extras: ["README.md"]]
end
defp deps do
[{:ex_doc, "~> 0.14", only: :dev, runtime: false},
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:quixir, "~> 0.9", only: :test }]
end
end