forked from icidasset/ectograph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
53 lines (43 loc) · 1.08 KB
/
mix.exs
File metadata and controls
53 lines (43 loc) · 1.08 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
51
52
53
defmodule Ectograph.Mixfile do
use Mix.Project
def project do
[app: :ectograph,
description: "Ectograph is a set of utility functions for using Ecto in combination with GraphQL (joshprice/graphql-elixir)",
version: "0.0.1",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
package: package]
end
def application do
[
applications: [
:ecto,
],
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Steven Vandevelde"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/icidasset/ectograph"}
]
end
# Dependencies
#
defp deps do
[
{ :ecto, "~> 1.1.3" },
{ :graphql, "~> 0.1.2" },
{ :earmark, "~> 0.1", only: :dev },
{ :ex_doc, "~> 0.11", only: :dev },
]
end
# Specifies which paths to compile per environment
#
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end