-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
67 lines (60 loc) · 1.28 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
defmodule Xler.MixProject do
use Mix.Project
def project do
[
app: :xler,
version: "0.6.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
compilers: [:rustler] ++ Mix.compilers(),
description: description(),
package: package(),
rustler_crates: rustler_crates(),
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application() do
[
extra_applications: [:logger]
]
end
defp rustler_crates do
[
xler_native: [
path: "native/xler_native",
mode: :release
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps() do
[
{:rustler, "~> 0.23.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp docs do
[
source_ref: "master",
main: "Xler",
canonical: "http://hexdocs.pm/xler",
source_url: "https://github.com/jnylen/xler",
extras: [
"README.md"
]
]
end
defp description() do
"A rust-based Excel parser."
end
defp package() do
[
files: ~w(lib .formatter.exs mix.exs README* LICENSE*
native),
licenses: ["MIT"],
links: %{"Github" => "https://github.com/jnylen/xler"}
]
end
end