-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
52 lines (47 loc) · 1.13 KB
/
mix.exs
File metadata and controls
52 lines (47 loc) · 1.13 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
defmodule ExditorJS.MixProject do
use Mix.Project
@version "0.4.0"
def project do
[
app: :exditorjs,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
compilers: Mix.compilers(),
description: description(),
package: package()
]
end
defp description do
"Elixir/Rust library for parsing and validating EditorJS content"
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/OutdoorMap/exditorjs"
},
files: [
"lib",
"mix.exs",
"README*",
"LICENSE",
"native/exditorjs_native/src",
"native/exditorjs_native/.cargo",
"native/exditorjs_native/README*",
"native/exditorjs_native/Cargo*",
"checksum-*.exs"
]
]
end
defp deps do
[
{:rustler, "~> 0.37.1", optional: true, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:rustler_precompiled, "~> 0.9.0"},
{:json, "~> 1.4", optional: true},
{:jason, "~> 1.4", optional: true}
]
end
end