forked from half-blood-labs/timeOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
94 lines (89 loc) · 2.43 KB
/
mix.exs
File metadata and controls
94 lines (89 loc) · 2.43 KB
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
92
93
94
defmodule Timeos.MixProject do
use Mix.Project
def project do
[
app: :timeos,
version: "0.1.0",
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
elixirc_paths: elixirc_paths(Mix.env()),
description:
"A powerful temporal rule engine for Elixir that enables you to schedule jobs based on events, time intervals, and cron expressions.",
package: [
maintainers: ["ijunaid8989"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/ijunaid8989/timeOS",
"Hex" => "https://hex.pm/packages/timeos"
}
],
docs: [
main: "readme",
extras: ["README.md"],
source_url: "https://github.com/ijunaid8989/timeOS",
homepage_url: "https://github.com/ijunaid8989/timeOS",
groups_for_modules: [
Core: [
TimeOS,
TimeOS.DSL.RuleSet
],
Runtime: [
TimeOS.Evaluator,
TimeOS.Scheduler,
TimeOS.JobWorker,
TimeOS.RuleRegistry,
TimeOS.EventReceiver,
TimeOS.RateLimiter
],
Schema: [
TimeOS.Schema.Event,
TimeOS.Schema.ScheduledJob,
TimeOS.Schema.TimeRule
],
Utilities: [
TimeOS.Health,
TimeOS.Telemetry,
TimeOS.Cleanup,
TimeOS.CronParser,
TimeOS.TimezoneUtils
],
Web: [
TimeOS.Web
]
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Timeos.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ecto_sql, "~> 3.10"},
{:postgrex, "~> 0.17"},
{:jason, "~> 1.4"},
{:tzdata, "~> 1.1"},
{:telemetry, "~> 1.0"},
{:plug, "~> 1.14", optional: true},
{:plug_cowboy, "~> 2.6", optional: true},
{:ex_doc, "~> 0.30", only: :dev},
{:ex_machina, "~> 2.7", only: :test},
{:mock, "~> 0.3", only: :test}
]
end
defp aliases do
[
"ecto.setup": ["ecto.create", "ecto.migrate", "ecto.seed"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
]
end
end