-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
57 lines (49 loc) · 1.32 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
defmodule Timelier.Mixfile do
use Mix.Project
def project do
[app: :timelier,
version: "0.9.2",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.html": :test],
deps: deps(),
# Documentation
name: "Timelier",
description: "A cron-style scheduler for Elixir.",
source_url: repo(),
# Package
package: package()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [],
mod: {Timelier, []},
env: [{:provider, default_provider()},
{:timezone, :local}]]
end
defp package do
[
name: :timelier,
maintainers: ["Nick Gunn"],
licenses: ["MIT"],
links: %{"GitHub" => repo()}
]
end
defp deps do
[
{:credo, "~> 0.5", only: [:dev, :test]},
{:earmark, "~> 1.0.3", only: :dev},
{:ex_doc, "~> 0.12", only: :dev},
{:excoveralls, "~> 0.6", only: :test},
{:quixir, "~> 0.9", only: :test}
]
end
defp repo, do: "https://github.com/ausimian/timelier"
defp default_provider do
{Timelier, :get_crontab, []}
end
end