-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
52 lines (47 loc) · 1.13 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
defmodule Particle.Mixfile do
use Mix.Project
def project do
[
app: :particle,
version: "1.0.0",
elixir: "~> 1.6",
name: "Particle Api Client",
source_url: "https://github.com/jeffutter/particle-elixir.ex",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
docs: [
extras: ["README.md"]
],
package: package(),
deps: deps(),
description: description()
]
end
def application do
[applications: [:hackney, :gen_stage, :logger], mod: {Particle, []}]
end
defp description do
"""
Client library for the Particle Cloud API.
"""
end
defp deps do
[
{:gen_stage, "~> 0.12"},
{:hackney, "~> 1.6"},
{:jason, "~> 1.1"},
{:credo, "~> 1.0", only: [:dev, :test]},
{:ex_doc, "~> 0.12", only: :dev},
{:inch_ex, "~> 2.0", only: [:dev, :test]},
{:exvcr, "~> 0.7", only: :test}
]
end
def package do
[
name: :particle,
maintainers: ["Jeffery Utter"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/jeffutter/particle-elixir"}
]
end
end