-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
63 lines (57 loc) · 1.49 KB
/
mix.exs
File metadata and controls
63 lines (57 loc) · 1.49 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
defmodule MakeupSyntect.MixProject do
use Mix.Project
@version "0.1.4"
def project do
[
app: :makeup_syntect,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
main: "readme",
extras: Path.wildcard("examples/*.md") ++ ["README.md", "CHANGELOG.md"],
source_url: "https://github.com/elixir-makeup/makeup_syntect"
],
package: package(),
description: description(),
source_url: "https://github.com/elixir-makeup/makeup_syntect"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {MakeupSyntect.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:rustler_precompiled, "~> 0.8.2"},
{:rustler, "~> 0.37.1", runtime: false, optional: true},
{:makeup, "~> 1.2"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp description() do
"Language lexers for Makeup using the syntect Rust library"
end
defp package() do
[
files: [
"lib",
"priv/extra_syntaxes",
"README.md",
"CHANGELOG.md",
"LICENSE",
"native/makeup_syntect/src",
"native/makeup_syntect/*.toml",
"checksum-*.exs",
"mix.exs"
],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/elixir-makeup/makeup_syntect"}
]
end
end