This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathmix.exs
57 lines (53 loc) · 1.42 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
defmodule Sqlitex.Mixfile do
use Mix.Project
def project do
[
app: :sqlitex,
version: "1.7.1",
elixir: "~> 1.4",
deps: deps(),
package: package(),
source_url: "https://github.com/elixir-sqlite/sqlitex",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.circle": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
description: """
A thin Elixir wrapper around esqlite
""",
dialyzer: [plt_add_deps: :transitive],
# The main page in the docs
docs: [main: "readme", extras: ["README.md"]]
]
end
# Configuration for the OTP application
def application do
[extra_applications: [:logger]]
end
# Type `mix help deps` for more examples and options
defp deps do
[
{:esqlite, "~> 0.4"},
{:decimal, "~> 2.0"},
{:credo, "~> 0.10", only: [:dev, :test]},
{:dialyxir, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.13", only: :test},
{:ex_doc, "~> 0.23", only: :docs, runtime: false},
{:excheck, "~> 0.6", only: :test},
{:triq, "~> 1.3", only: :test}
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/elixir-sqlite/sqlitex",
"docs" => "http://hexdocs.pm/sqlitex"
}
]
end
end