-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
50 lines (44 loc) · 1.41 KB
/
mix.exs
File metadata and controls
50 lines (44 loc) · 1.41 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
defmodule Automaton.Mixfile do
use Mix.Project
def project do
[app: :automaton,
description: description(),
package: package(),
name: "Automaton",
source_url: "https://github.com/flexnode/automaton",
version: "0.1.1",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test, "coveralls.semaphore": :test]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[mod: {Automaton.Application, []},
extra_applications: [:logger]]
end
defp deps do
[{:excoveralls, "~> 0.7", only: :test},
{:ex_doc, ">= 0.0.0", only: [:dev, :docs]}]
end
defp description do
"""
Automaton is an Elixir library that manages the conversation between your chat bot and the user by maintaining the messages and context in a GenServer.
"""
end
defp package do
[
name: :automaton,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["T.S. Lim"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/flexnode/automaton"}
]
end
end