forked from Voronchuk/elixir_google_spreadsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (52 loc) · 1.34 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
56
57
defmodule GSS.Mixfile do
use Mix.Project
def project do
[
app: :elixir_google_spreadsheets,
version: "0.1.10",
elixir: "~> 1.4",
description: "Elixir library to read and write data of Google Spreadsheets.",
docs: [extras: ["README.md"]],
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps()
]
end
def package do
[
name: :elixir_google_spreadsheets,
files: ["lib", "mix.exs"],
maintainers: ["Vyacheslav Voronchuk"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/Voronchuk/elixir_google_spreadsheets"}
]
end
def application do
[
applications: [
:logger,
:goth,
:httpoison,
:gen_stage,
:poison
],
mod: {GSS, []}
]
end
defp deps do
[
{:goth, ">= 0.5.0"},
{:httpoison, ">= 0.12.0"},
{:gen_stage, ">= 0.12.0"},
{:poison, "~> 3.1"},
{:earmark, ">= 0.0.0", only: :dev},
{:ex_doc, ">= 0.0.0", only: :dev},
{:logger_file_backend, ">= 0.0.10", only: [:dev, :test]},
{:dialyxir, "~> 0.5", only: :dev, runtime: false}
]
end
defp elixirc_paths(:test), do: ["lib", "test/stub_modules"]
defp elixirc_paths(_), do: ["lib"]
end