This repository has been archived by the owner on Mar 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
/
mix.exs
59 lines (54 loc) · 1.52 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
defmodule Thesis.Mixfile do
use Mix.Project
@version "0.3.4" # REMEMBER TO UPDATE package.json and both READMEs!
def project do
[
app: :thesis,
version: @version,
elixir: ">= 1.4.0",
description: description(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
dialyzer: [plt_add_deps: :transitive]
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:phoenix, ">= 1.2.0"},
{:phoenix_html, ">= 2.0.0"},
{:ecto, ">= 2.0.0"},
{:plug, ">= 1.0.0"},
{:poison, ">= 1.0.0"},
{:httpoison, ">= 0.11.0"},
{:html_sanitize_ex, ">= 1.3.0"},
{:lz_string, "~> 0.0.7"},
{:ex_doc, ">= 0.12.0", only: [:dev]},
{:earmark, ">= 0.2.0", only: [:dev]},
{:dialyxir, ">= 0.3.5", only: [:dev]},
{:credo, ">= 0.7.4", only: [:dev]},
]
end
defp description do
"""
Thesis is a lightweight bolt-on content editing system
for Phoenix websites.
"""
end
defp package do
[
files: ["lib", "priv", "mix.exs", "README*", "LICENSE*", "package.json"],
licenses: ["MIT"],
maintainers: ["Jamon Holmgren", "Yulian Glukhenko", "Ken Miller", "Daniel Berkompas"],
links: %{
"GitHub" => "https://github.com/infinitered/thesis-phoenix",
"Docs" => "https://hexdocs.pm/thesis/#{@version}/api-reference.html",
# "Tutorials" => "https://infinite.red/thesis/" # TODO
}
]
end
end