-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
71 lines (62 loc) · 1.94 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
60
61
62
63
64
65
66
67
68
69
70
71
defmodule Belt.Mixfile do
use Mix.Project
def project do
[app: :belt,
version: "0.4.1",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
deps: deps(),
dialyzer: [plt_add_apps: [:ssh, :observer]],
#Hex
description: description(),
package: package(),
#Docs
name: "Belt",
docs: [
canonical: "http://hexdocs.pm/belt",
source_url: "https://bitbucket.org/pentacent/belt",
homepage_url: "https://bitbucket.org/pentacent/belt",
extras: ["guides/getting-started.md"]
]
]
end
def application do
[mod: {Belt.Application, []},
extra_applications: [:logger]]
end
# Specifies which paths to compile per environment
defp elixirc_paths(:test), do: ["lib", "test/shared"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[{:gen_stage, "~> 0.12"},
{:ex_doc, "~> 0.14", only: :dev, runtime: false},
{:coverex, "~> 1.4", only: :test},
{:excoveralls, "~> 0.6", only: :test},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ex_aws, "~> 2.1", optional: true},
{:ex_aws_s3, "~> 2.0", optional: true},
{:sweet_xml, "~> 0.6", optional: true},
{:hackney, "~> 1.9", optional: true},
{:ecto, "~> 3.0.0-rc.1"}
]
end
defp package do
[
name: :belt,
files: ["lib", "mix.exs", "README*", "LICENSE*", "test", "config/config.exs"],
licenses: ["Apache 2", "GNU AGPLv3"],
links: %{"Bitbucket" => "https://bitbucket.org/pentacent/belt",
"Issues" => "https://bitbucket.org/pentacent/belt/issues"},
maintainers: ["Philipp Schmieder"],
]
end
defp description do
"""
Extensible Elixir OTP Application for storing files through a unified API.
Backends currently exist for the local filesystem, SFTP and the Amazon S3 API.
"""
end
end