forked from spruceid/siwe-ex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
51 lines (48 loc) · 1.33 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
defmodule Siwe.MixProject do
use Mix.Project
@description "Elixir library to parse and validate Sign In with Ethereum Messages"
@organization "Spruce Systems, Inc."
@source_url "https://github.com/spruceid/siwe-ex"
@version "0.7.0"
def application, do: [extra_applications: [:logger]]
def project do
[
app: :siwe,
deps: [
{:rustler, "~> 0.30", optional: true},
{:rustler_precompiled, "~> 0.7"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
],
description: @description,
docs: [
main: "readme",
extras: ["README.md"],
source_url_pattern: "#{@source_url}/blob/v#{@version}/%{path}#L%{line}"
],
elixir: "~> 1.10",
organization: @organization,
package: [
exclude_patterns: [
~r/\W\.DS_Store$/,
~r/target/
],
files: [
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md",
"lib",
"native/siwe_native/.cargo",
"native/siwe_native/src",
"native/siwe_native/Cargo*",
"checksum-*.exs",
"mix.exs"
],
licenses: ["MIT", "Apache-2.0"],
links: %{"GitHub" => @source_url},
maintainers: [@organization]
],
start_permanent: Mix.env() == :prod,
version: @version
]
end
end