-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
91 lines (85 loc) · 2.57 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
defmodule ExMacroInspect.MixProject do
use Mix.Project
def project do
[
app: :ex_macro_inspect,
version: "1.0.2",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
default_task: "help_make",
name: "ex_macro_inspect",
source_url: "https://github.com/ElixirCommons/ExMacroInspect",
homepage_url: "https://github.com/ElixirCommons/ExMacroInspect",
description: """
ExMacroInspect is a macro inspection library for elixir. I makes it easy for a developer to see what is passed into a macro during macro development.
""",
docs: docs(),
test_coverage: [tool: ExCoveralls],
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.9.1", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.2", only: [:dev], runtime: false},
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:excoveralls, "~> 0.8", only: [:dev, :test]},
{:distillery, "~> 1.5", runtime: false},
{:benchee, "~> 0.11", only: :dev},
{:benchee_html, "~> 0.4", only: :dev}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
defp aliases do
[
help_make: "cmd make"
]
end
### --
# all configuration required by ex_doc to configure the generation of documents
### --
defp docs do
[
main: "ExMacroInspect",
logo: "guides/assets/elixir.png",
extras: ["README.md": [filename: "readme", title: "README"]],
extra_section: "GUIDES",
groups_for_extras: [
Introduction: Path.wildcard("guides/introduction/*.md")
],
# Ungrouped Modules:
#
# OtherModules
groups_for_modules: [
Macros: [
ExMacroInspect
]
]
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "ex_macro_inspect",
organization: "hexpm",
# These are the default files included in the package
files: ["lib", "mix.exs", "README*", "LICENSE*"],
licenses: ["GNU 3.0"],
links: %{
"GitHub" => "https://github.com/ElixirCommons/ExMacroInspect",
"HexDocs" => "https://hexdocs.pm/ex_macro_inspect/"
},
maintainers: ["Steve Morin steve at stevemorin.com"]
]
end
end