-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
52 lines (46 loc) · 1.33 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
defmodule CSQuery.Mixfile do
use Mix.Project
@name :csquery
@version "1.0.0"
@source_url "https://github.com/KineticCafe/csquery"
@docs [
main: "readme",
extras: ["README.md", "Contributing.md", "Licence.md"]
]
@deps [
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.8", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.14", only: [:dev, :test], runtime: false},
{:inch_ex, "~> 0.5", only: [:dev, :test], runtime: false}
]
@description """
CSQuery is a query builder for the AWS CloudSearch structured search syntax.
"""
@package [
files: ["lib", "mix.exs", "README.md", "Contributing.md", "Licence.md", ".formatter.exs"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
def project do
[
app: @name,
version: @version,
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
elixirc_paths: ["lib"],
deps: @deps,
source_url: @source_url,
docs: @docs,
description: @description,
package: @package,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.semaphore": :test,
"coveralls.html": :test
]
]
end
end