-
Notifications
You must be signed in to change notification settings - Fork 11
/
mix.exs
60 lines (49 loc) · 1.28 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
defmodule Quixir.Mixfile do
use Mix.Project
@version "0.9.4"
@package [
licenses: [ "apache 2.0" ],
maintainers: [ "Dave Thomas (pragdave) <[email protected]>" ],
links: %{
"Github" => "https://github.com/pragdave/quixir",
},
]
@deps (if File.dir?("../pollution") do
[
{ :pollution, [ path: "../pollution" ] },
{ :ex_doc, ">= 0.0.0", only: [ :dev, :test ] },
]
else
[
{ :pollution, "~> 0.9.2" },
{ :ex_doc, ">= 0.0.0", only: [ :dev, :test ] },
]
end)
@docs [
extras: [ "README.md" ],
main: "Quixir"
]
@if_production Mix.env == :prod
@elixirc_paths (case Mix.env do
:prod -> ["lib"]
_ -> ["lib", "scripts"]
end)
@project [
app: :quixir,
version: @version,
elixir: ">= 1.3.0",
elixirc_paths: @elixirc_paths,
build_embedded: @if_production,
start_permanent: @if_production,
deps: @deps,
description: """
A simple property-based testing framework written in pure Elixir.
""",
package: @package,
docs: @docs
]
@application []
# ------------------------------------------------------------
def project, do: @project
def application, do: @application
end