-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
91 lines (85 loc) · 2.79 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 ElixirProjectChecklist.MixProject do
use Mix.Project
def project do
[
app: :elixir_project_checklist,
version: "1.0.3",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
default_task: "help_make",
name: "elixir_project_checklist",
source_url: "https://github.com/ElixirCommons/ElixirProjectChecklist",
homepage_url: "https://github.com/ElixirCommons/ElixirProjectChecklist",
description: """
ElixirProjectChecklist Is a checklist to follow to create new Elixir projects to add things like, formating, versioning, debuging, documentation, code coverage, package publishing, testing etc. You can follow the checklist in project or clone the project if your creating a barebose project.
""",
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: "ElixirProjectChecklist",
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: [
ElixirProjectChecklist
]
]
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "elixir_project_checklist",
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/ElixirProjectChecklist",
"HexDocs" => "https://hexdocs.pm/elixir_project_checklist/"
},
maintainers: ["Steve Morin steve at stevemorin.com"]
]
end
end