-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
53 lines (47 loc) · 1.04 KB
/
mix.exs
File metadata and controls
53 lines (47 loc) · 1.04 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
defmodule Base62Id.Mixfile do
use Mix.Project
def project do
[
app: :base62id,
version: "0.1.1",
elixir: "~> 1.6",
description: description(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
deps: deps()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[
applications: [:logger, :postgrex, :ecto]
]
end
defp deps do
[
{:ecto, ">= 2.1.0"},
{:postgrex, ">= 0.13.0"}
]
end
defp description do
"""
Base62Id type for Ecto (actually stored as 8 byte integer)
"""
end
defp package do
[
name: :base62id,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Stas Versilov"],
licenses: ["MIT License"],
links: %{
"GitHub" => "https://github.com/versilov/base62id"
}
]
end
defp elixirc_paths(_), do: ["lib"]
end