-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
43 lines (38 loc) · 980 Bytes
/
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
defmodule Wpcom.MixProject do
use Mix.Project
def project do
[
app: :wpcom,
version: "1.0.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "wpcom.ex",
source_url: "https://github.com/Automattic/wpcom.ex"
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:req, "~> 0.5.6"},
{:bandit, "~> 1.5", only: :test},
{:test_server, "~> 0.1", only: :test},
{:credo, "~> 1.6", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"wpcom.ex is the official Elixir library for the WordPress.com REST API."
end
defp package() do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/Automattic/wpcom.ex"}
]
end
end