-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
64 lines (58 loc) · 1.34 KB
/
mix.exs
File metadata and controls
64 lines (58 loc) · 1.34 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
defmodule Textwrap.MixProject do
use Mix.Project
def project do
[
app: :textwrap,
version: "0.4.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
compilers: Mix.compilers(),
name: "Textwrap",
source_url: "https://github.com/foxbenjaminfox/ex_textwrap",
homepage_url: "https://github.com/foxbenjaminfox/ex_textwrap",
docs: docs(),
description: description(),
package: package()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:rustler, "~> 0.37.0"},
{:credo, "~> 1.7.12", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.23", only: :dev, runtime: false}
]
end
defp docs() do
[
main: "Textwrap"
]
end
defp description() do
"""
A NIF binding to the textwrap crate, for wrapping and indenting text.
"""
end
def package() do
[
maintainers: "Benjamin Fox",
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/foxbenjaminfox/ex_textwrap"},
files: [
"lib",
"mix.exs",
"README.md",
"LICENSE",
".formatter.exs",
"native/textwrap_nif/Cargo.*",
"native/textwrap_nif/src"
]
]
end
end