-
Notifications
You must be signed in to change notification settings - Fork 6
/
mix.exs
51 lines (45 loc) · 1.45 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
defmodule Eastar.Mixfile do
use Mix.Project
def project do
[ app: :eastar,
version: "0.5.2-dev",
package: package(),
description: description(),
deps: deps(),
docs: [main: Astar],
test_coverage: [tool: ExCoveralls]
]
end
# Configuration for the OTP application
def application do
apps = Mix.env == :dev && [:reprise] || []
[applications: apps,
mod: {Astar.App, []},
description: 'A*']
end
defp package, do: [
maintainers: ["Wojciech Kaczmarek"],
licenses: ["BSD"],
description: description(),
links: %{"GitHub" => "http://github.com/wkhere/eastar",
"HexDocs" => "http://hexdocs.pm/eastar",
},
]
defp description, do:
~S"""
Eastar is a pure-Elixir implementation of A* graph pathfinding algorithm.
All graph environment, like nodes connectivity, distance & H-metric
are abstracted away - you provide them as functions.
"""
defp deps, do: [
{:excoveralls, "~> 0.4.6", only: :test},
{:ex_doc, "~> 0.19", only: :dev},
{:dialyze, "== 0.2.0", only: :dev},
{:reprise, "~> 0.5", only: :dev},
{:exprof, "== 0.2.0", only: :dev},
{:excheck, "~> 0.5.3", only: [:dev, :test]},
{:triq, "~> 1.3.0", only: [:dev, :test]},
{:benchfella, "== 0.3.2", only: :dev},
{:vger, github: "herenowcoder/vger", only: [:dev, :test]},
]
end