-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
53 lines (43 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
defmodule Engine.Mixfile do
use Mix.Project
def project do
[app: :workflow,
version: "0.2.0",
elixir: "~> 1.3",
description: description(),
package: package(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
end
def application do
[applications: [:logger],
mod: {Workflow, []}]
end
defp deps do
[
{:extreme, "~> 0.7.1"}, # eventstore driver
# utils
{:uuid, "~> 1.1.4" },
{:logger_file_backend, "~> 0.0.9"}, # Save logs to file [remmember to create a ~/logs directory!]
# DEVs
# {:dogma, "~> 0.1.7", only: [:dev]}, # code linter
{:dialyxir, "~> 0.3.5", only: [:dev]}, # simplify dialyzer, type: mix dialyzer.plt first
{:mix_test_watch, "~> 0.2", only: :dev}, # use mix test.watch for TDD development
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[# These are the default files included in the package
name: :workflow,
files: ["lib", "test", "config", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Henry Hazan", "Shmuel Kalmus"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/work-capital/workflow"}]
end
defp description do
"""
Building Blocks to write CQRS Event Sourcing apps in Elixir
"""
end
end