-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
47 lines (42 loc) · 983 Bytes
/
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
defmodule BaseModel.Mixfile do
use Mix.Project
@version "0.3.0"
@repo_url "https://github.com/meyercm/base_model"
def project do
[
app: :base_model,
version: @version,
elixir: "~> 1.4",
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex
package: hex_package(),
description: "ActiveRecord for Ecto",
# Docs
name: "BaseModel",
docs: [extras: ["README.md"],
main: "readme"],
# Testing
preferred_cli_env: [espec: :test],
]
end
def application do
[
extra_applications: [:logger]
]
end
defp hex_package do
[maintainers: ["Chris Meyer"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url}]
end
defp deps do
[
{:espec, "~> 1.4", only: :test},
{:ecto_sql, "~> 3.0"},
{:shorter_maps, "~> 2.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
]
end
end