-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
93 lines (87 loc) · 2.15 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
defmodule Exhort.MixProject do
use Mix.Project
def project do
[
app: :exhort,
version: "0.1.1",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "Exhort",
docs: docs(),
compilers: [:elixir_make] ++ Mix.compilers(),
make_args: ["--quiet"],
make_clean: ["clean"]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:elixir_make, "~> 0.4", runtime: false},
{:ex_doc, "~> 0.28", only: :dev, runtime: false}
]
end
defp description() do
"""
An idiomatic Elixir library for operations research optimization.
"""
end
defp docs do
[
main: "Exhort",
extra_section: "Notebooks",
extras: [
"notebooks/binpacking.livemd",
"notebooks/nurse-scheduling.livemd",
"notebooks/channeling.livemd",
"notebooks/rabbits-and-pheasants.livemd",
"notebooks/minimal-job-shop.livemd",
"notebooks/ranking-sample-sat.livemd",
"notebooks/multiple-knapsack.livemd"
],
groups_for_modules: [
API: [
Exhort.SAT.Builder,
Exhort.SAT.Constraint,
Exhort.SAT.Expr,
Exhort.SAT.Model,
Exhort.SAT.SolverResponse
],
Variables: [
Exhort.SAT.BoolVar,
Exhort.SAT.IntVar,
Exhort.SAT.IntervalVar
]
]
]
end
defp package do
[
name: "exhort",
files: [
"lib",
"mix.exs",
"README.md",
"LICENSE.md",
"c_src",
"Makefile"
],
maintainers: ["objectuser", "cameron-kurth"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/elixir-or-tools/exhort",
"Google OR Tools" => "https://developers.google.com/optimization/"
},
source_url: "https://github.com/elixir-or-tools/exhort"
]
end
end