-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
60 lines (55 loc) · 1.54 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
defmodule SimplerCache.MixProject do
use Mix.Project
def project do
[
app: :simpler_cache,
version: "0.1.8",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
dialyzer: [
flags: [:error_handling, :underspecs]
],
# Docs
name: "Simpler Cache",
source_url: "https://github.com/IRog/simpler_cache",
homepage_url: "https://github.com/IRog/simpler_cache",
docs: [
# The main page in the docs
main: "SimplerCache",
# logo: "path/to/logo.png",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {SimplerCache.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:propcheck, "~> 1.1.4", only: :test},
{:excoveralls, "~> 0.10", only: :test},
{:dialyxir, "~> 1.0.0-rc.3", only: :dev, runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
defp description() do
"A simple cache with ttl based on ets and timers. Tested with property model testing. Thundering herd fix, as well"
end
defp package() do
[
name: "simpler_cache",
files: ~w(lib doc .formatter.exs mix.exs README* LICENSE*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/IRog/simpler_cache"}
]
end
end