-
Notifications
You must be signed in to change notification settings - Fork 16
/
mix.exs
51 lines (43 loc) · 863 Bytes
/
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 NimbleTOTP.MixProject do
use Mix.Project
@version "1.0.0"
@repo_url "https://github.com/dashbitco/nimble_totp"
def project do
[
app: :nimble_totp,
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
package: package(),
description: "A tiny library for time-based one time passwords (TOTP)",
# Docs
name: "NimbleTOTP",
docs: docs()
]
end
def application do
[
extra_applications: [:crypto]
]
end
defp deps do
[
{:ex_doc, ">= 0.19.0", only: :docs}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @repo_url}
]
end
defp docs do
[
main: "NimbleTOTP",
source_ref: "v#{@version}",
source_url: @repo_url
]
end
end