-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmix.exs
65 lines (57 loc) · 1.75 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
58
59
60
61
62
63
64
65
defmodule Reaxive.Mixfile do
use Mix.Project
def project do
[ app: :reaxive,
version: "0.1.1-dev",
elixir: "~> 1.0",
elixirc_paths: elixirc_paths(Mix.env),
package: package,
name: "Reaxive - a Reactive Extension inspired library for Elixir",
description: description,
source_url: "https://github.com/alfert/reaxive",
homepage_url: "https://github.com/alfert/reaxive",
docs: [readme: "README.md"],
test_coverage: [tool: Coverex.Task, log: :info, coveralls: true],
deps: deps ]
end
# Specifies which paths to compile per environment
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Configuration for the OTP applicatioon
def application do
[
mod: { Reaxive, [] },
applications: [
# httpoison is used for coverage testing only ...
# :httpoison,
# regular dependencies
:kernel , :stdlib, :sasl, :logger]
]
end
defp deps do
[
{:coverex, "~> 1.4.0", only: :test},
{:earmark, "~> 0.1.17", only: :dev},
{:ex_doc, "~> 0.8.4", only: :dev},
{:dialyze, "~> 0.2.0", only: :dev},
{:dbg, "~>1.0.0", only: :test},
{:inch_ex, "~> 0.4.0", only: :docs}
]
end
# Hex Package description
defp description do
"""
Reaxive is a library inspired by Reactive Extensions and ELM to provide
functional reactive programming to Elixir. It allows for active sequences
of events and a set of stream-reducer like transformations such as map or
filter.
"""
end
# Hex Package definition
defp package do
[maintainers: ["Klaus Alfert"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/alfert/reaxive"}
]
end
end