-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
55 lines (50 loc) · 1.22 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
defmodule Elixirfm.Mixfile do
use Mix.Project
def project do
[
app: :elixirfm,
version: "1.0.1",
elixir: "~> 1.10",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
docs: [extras: ["README.md"]],
dialyzer: [plt_add_deps: :transitive],
description: description(),
preferred_cli_env: [
vcr: :test, "vcr.delete": :test, "vcr.check": :test, "vcr.show": :test
]
]
end
def description, do: "Lastfm API client for Elixir"
def package do
[
name: :elixirfm,
maintainers: ["jrichocean"],
licenses: ["MIT"],
docs: [extras: ["README.md"]],
links: %{"GitHub" => "https://github.com/jrichocean/Elixirfm"}
]
end
# Configuration for the OTP application
def application do
[
applications: [
:logger,
:httpoison
]
]
end
# Dependencies
defp deps do
[
{:credo, "~> 1.4.0", only: [:dev, :test]},
{:dialyxir, "~> 1.0.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.22.0", only: :dev},
{:exvcr, "~> 0.11.0", only: :test},
{:httpoison, "~> 1.6"},
{:poison, "~> 4.0.0"},
]
end
end