This repository was archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathmix.exs
More file actions
50 lines (43 loc) · 1.28 KB
/
mix.exs
File metadata and controls
50 lines (43 loc) · 1.28 KB
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
defmodule GraphQL.Mixfile do
use Mix.Project
@version "0.3.2"
@description "GraphQL Elixir implementation"
@repo_url "https://github.com/graphql-elixir/graphql"
def project do
[app: :graphql,
version: @version,
elixir: "~> 1.2",
description: @description,
deps: deps,
package: package,
source_url: @repo_url,
homepage_url: @repo_url,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
consolidate_protocols: true,
name: "GraphQL",
docs: [main: "GraphQL", logo: "logo.png", extras: ["README.md"]]]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:mix_test_watch, "~> 0.2", only: :dev},
{:credo, "~> 0.3", only: :dev},
{:dogma, "~> 0.1", only: :dev},
# Doc dependencies
{:earmark, "~> 0.2", only: :dev},
{:ex_doc, "~> 0.11", only: :dev},
{:inch_ex, "~> 0.5", only: :dev},
{:dialyxir, "~> 0.3", only: [:dev]},
{:poison, "~> 1.5 or ~> 2.0", only: [:dev, :test]},
]
end
defp package do
[maintainers: ["Josh Price", "James Sadler", "Mark Olson", "Aaron Weiker", "Sean Abrahams"],
licenses: ["BSD"],
links: %{"GitHub" => @repo_url},
files: ~w(lib src/*.xrl src/*.yrl mix.exs *.md LICENSE)]
end
end