-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
59 lines (53 loc) · 1.22 KB
/
mix.exs
File metadata and controls
59 lines (53 loc) · 1.22 KB
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
defmodule EctoHLClock.Mixfile do
use Mix.Project
@source_url "https://github.com/elixir-toniq/ecto_hlclock"
def project do
[
app: :ecto_hlclock,
version: "0.4.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "EctoHLClock",
source_url: @source_url,
docs: [
source_url: @source_url,
extras: ["README.md"]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp description do
"""
Ecto type support for storing/retrieving HLC timestamps
"""
end
defp deps do
[
{:ecto, "~> 3.0"},
{:ecto_sql, "~> 3.0"},
{:hlclock, "~> 1.1"},
{:credo, "~> 1.0", only: [:dev, :test]},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
defp package do
[
name: :ecto_hlclock,
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Neil Menne", "Chris Keathley"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @source_url,
"Docs" => "http://hexdocs.pm/ecto_hlclock"
}
]
end
end