-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
59 lines (52 loc) · 1.2 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
58
59
defmodule PostgresDescribe.Mixfile do
use Mix.Project
@app :postgres_describe
@name "PostgresDescribe"
@version "0.1.4"
@github "https://github.com/brandonparsons/#{@app}"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.4",
description: description(),
package: package(),
deps: deps(),
# ExDoc
name: @name,
source_url: @github,
homepage_url: @github,
docs: [
main: @name,
canonical: "https://hexdocs.pm/#{@app}",
extras: ["README.md"]
]
]
end
def application do
[extra_applications: [:logger]]
end
defp description do
"""
Library for describing postgres tables and saving that output into a given
location in your application source.
"""
end
defp package do
[
name: @app,
maintainers: ["Brandon Parsons"],
licenses: ["MIT"],
files: ["mix.exs", "lib", "README*", "LICENSE*"],
links: %{"Github" => @github}
]
end
defp deps do
[
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:cortex, "~> 0.3", only: [:dev, :test]},
{:private, "~> 0.1.1"},
{:temp, "~> 0.4", only: [:test]}
]
end
end