-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
74 lines (68 loc) · 2.22 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
defmodule MishkaDeveloperTools.MixProject do
use Mix.Project
@version "0.1.8"
@source_url "https://github.com/mishka-group/mishka_developer_tools"
def project do
[
app: :mishka_developer_tools,
version: @version,
elixir: "~> 1.15",
name: "Mishka developer tools",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
compilers: [:yecc, :leex] ++ Mix.compilers(),
deps: deps(),
description: description(),
package: package(),
homepage_url: "https://github.com/mishka-group",
source_url: @source_url,
test_elixirc_options: [debug_info: Mix.env() == :test],
docs: [
main: "MishkaDeveloperTools",
source_ref: "master",
extras: ["README.md"],
source_url: @source_url
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :mnesia],
included_applications: [:mnesia],
mod: {MishkaDeveloperTools.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:nimble_totp, "~> 1.0", optional: true},
{:joken, "~> 2.6", optional: true},
{:jason, "~> 1.4", optional: true},
{:plug, "~> 1.16", optional: true},
# Make sure you have a C compiler installed. See the Comeonin wiki for details.
# Wiki link: https://github.com/riverrun/comeonin/wiki/Requirements
{:bcrypt_elixir, "~> 3.1", optional: true},
{:pbkdf2_elixir, "~> 2.2", optional: true},
{:argon2_elixir, "~> 4.0", optional: true},
# Dev dependencies
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description() do
"Mishka developer tools provides some macros and modules to make creating your elixir application as easy as possible"
end
defp package() do
[
files: ~w(lib .formatter.exs mix.exs LICENSE README*),
licenses: ["Apache-2.0"],
maintainers: ["Shahryar Tavakkoli"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md"
}
]
end
end