-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmix.exs
56 lines (50 loc) · 1.28 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
defmodule Blogit.Mixfile do
use Mix.Project
@version "1.2.3"
def project do
[
app: :blogit,
version: @version,
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
docs: [
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/meddle0x53/blogit"
],
description: """
Blogit is an OTP application for generating blog posts from a git
repository containing markdown files.
""",
package: package(),
aliases: aliases(),
dialyzer: [plt_add_deps: :apps_direct, plt_add_apps: [:yaml_elixir]],
deps: deps()
]
end
def application do
[applications: [:logger, :yaml_elixir], mod: {Blogit, []}]
end
defp deps do
[
{:git_cli, "~> 0.2"},
{:earmark, "~> 1.2"},
{:yaml_elixir, "~> 2.1"},
{:calendar, "~> 0.17.3"},
{:ex_doc, ">= 0.15.0", only: :dev},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}
]
end
defp package do
%{
licenses: ["MIT"],
maintainers: ["Nikolay Tsvetinov (Meddle)"],
links: %{"GitHub" => "https://github.com/meddle0x53/blogit"}
}
end
defp aliases do
[test: "test --no-start"]
end
end