-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
78 lines (70 loc) · 1.81 KB
/
mix.exs
File metadata and controls
78 lines (70 loc) · 1.81 KB
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
defmodule XlsxWriter.MixProject do
use Mix.Project
@github_url "https://github.com/fltoss/xlsx_writer"
@version "0.8.0"
def project do
[
app: :xlsx_writer,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:decimal, "~> 2.0"},
{:rustler_precompiled, "~> 0.8"},
{:rustler, "~> 0.37.1", runtime: false},
# Dev tools
{:credo, "~> 1.4", only: [:dev], runtime: false},
{:quokka, "~> 2.6", only: [:dev], runtime: false},
{:dialyxir, "~> 1.3", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:igniter, "~> 0.5", only: [:dev]}
]
end
defp package do
[
files: [
"lib",
"mix.exs",
"README*",
"LICENSE*",
"native/xlsx_writer/.cargo",
"native/xlsx_writer/src",
"native/xlsx_writer/Cargo*",
"checksum-*.exs"
],
maintainers: ["Wilhelm H Kirschbaum", "Willem Odendaal"],
licenses: ["MIT"],
links: %{"GitHub" => @github_url}
]
end
defp description do
"A fast Elixir library for writing Excel (.xlsx) files using Rust. Built with the rust_xlsxwriter crate via Rustler NIF for high performance spreadsheet generation."
end
defp docs do
[
main: "XlsxWriter",
extras: [
"guides/getting_started.md",
"guides/builder_api.md",
"guides/formatting.md",
"guides/layout_features.md"
],
groups_for_extras: [
Guides: ~r/guides\/.*/
]
]
end
end