Repository navigation
Expand file tree
/
Copy pathmix.exs
More file actions
50 lines (45 loc) · 1.28 KB
/
Copy pathmix.exs
File metadata and controls
50 lines (45 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 GSS.Mixfile do
use Mix.Project
def project do
[
app: :elixir_google_spreadsheets,
version: "1.0.2",
elixir: "~> 1.18",
description: "Elixir library to read and write data of Google Spreadsheets.",
docs: [main: "GSS", extras: ["README.md"]],
start_permanent: Mix.env() == :prod,
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
dialyzer: [plt_file: {:no_warn, "priv/plts/project.plt"}]
]
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
[
extra_applications: [:logger],
mod: {GSS, []}
]
end
defp deps do
[
{:goth, "~> 1.4"},
{:gen_stage, "~> 1.3"},
{:finch, "~> 0.23"},
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:plug_cowboy, "~> 2.7", only: :test}
]
end
defp elixirc_paths(:test), do: ["lib", "test/stub_modules"]
defp elixirc_paths(_), do: ["lib"]
end