-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
48 lines (43 loc) · 1 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
defmodule Fermo.DatoCMS.GraphqlClient.MixProject do
use Mix.Project
@version "0.14.4"
@git_origin "https://github.com/leanpanda-com/fermo_datocms_graphql_client"
def project do
[
app: :fermo_datocms_graphql_client,
version: @version,
elixir: "~> 1.9",
description: "Handle real-time updates to DatoCMS GraphQL queries",
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
extras: ["README.md"],
homepage_url: @git_origin,
main: "Fermo.DatoCMS.GraphQLClient",
source_ref: "v#{@version}",
source_url: @git_origin
]
]
end
def application do
[
extra_applications: [:logger, :httpoison]
]
end
defp package do
%{
licenses: ["MIT"],
links: %{
"GitHub" => @git_origin
},
maintainers: ["Joe Yates"]
}
end
defp deps do
[
{:datocms_graphql_client, ">= 0.13.0"},
{:ex_doc, "~> 0.21.2", only: :dev}
]
end
end