-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
50 lines (44 loc) · 1.19 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
Code.ensure_loaded?(Hex) and Hex.start
defmodule Workex.Mixfile do
use Mix.Project
@version "0.10.0"
def project do
[
app: :workex,
version: @version,
elixir: "~> 1.0",
elixirc_paths: elixirc_paths(Mix.env),
deps: deps,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
source_url: "https://github.com/sasa1977/workex",
package: [
maintainers: ["Saša Jurić"],
licenses: ["MIT"],
links: %{
"Github": "https://github.com/sasa1977/workex",
"Docs": "http://hexdocs.pm/workex"
}
],
description: "A behaviour for simple flow control and backpressure.",
docs: [
extras: ["README.md"],
main: "Workex",
source_url: "https://github.com/sasa1977/workex/",
source_ref: @version
]
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:exactor, "~> 2.2.0"},
{:ex_doc, "~> 0.10.0", only: :docs}
]
end
defp elixirc_paths(:test), do: ["test/support" | elixirc_paths(:common)]
defp elixirc_paths(:common), do: ["lib"]
defp elixirc_paths(_), do: elixirc_paths(:common)
end