-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
73 lines (66 loc) · 1.46 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
defmodule OpenSCAD.MixProject do
use Mix.Project
def project do
[
app: :open_scad,
version: "0.5.2",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
escript: escript(),
build_embedded: true,
package: package(),
name: "OpenSCAD",
description: description(),
source_url: "https://github.com/joedevivo/open_scad"
]
end
def application do
[
mod: {OpenSCAD.Application, []},
applications: [:mix],
included_applications: [:file_system],
extra_applications: [:logger, :file_system]
]
end
defp deps do
[
{:file_system, "~> 0.2.7"},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:dialyzex, "~> 1.2.0", only: [:dev, :test], runtime: false}
]
end
defp docs do
[
assets: "pages/assets",
extras: [
"pages/getting_started.md",
"pages/open_scad_language.md",
"pages/slicing.md"
]
]
end
defp escript do
[
main_module: OpenSCAD.CLI,
strip_beam: true,
embed_elixir: true,
app: nil,
path: "./_build/escript/open_scad"
]
end
defp description do
"""
An Elixir Library for working with OpenSCAD models.
"""
end
defp package do
[
name: "open_scad",
maintainers: ["Joe DeVivo"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/joedevivo/open_scad"}
]
end
end