-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
49 lines (44 loc) · 1.19 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
defmodule BingTranslator.Mixfile do
use Mix.Project
@description """
Translate strings using the Bing HTTP API. Requires that you have a Client ID and Secret. See README.md for information.
"""
def project do
[
app: :bing_translator,
name: "BingTranslator",
version: "2.0.0",
elixir: ">= 1.0.0",
description: @description,
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
source_url: "https://github.com/ikeikeikeike/bing_translator"
]
end
def application do
[
applications: [:logger, :httpoison, :floki, :xml_builder],
mod: {BingTranslator.Application, []}
]
end
defp deps do
[
{:httpoison, ">= 0.11.0"},
{:floki, ">= 0.17.0"},
{:xml_builder, ">= 0.0.0"},
{:credo, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:ex_doc, ">= 0.0.0", only: :dev},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp package do
[
maintainers: ["Tatsuo Ikeda / ikeikeikeike"],
licenses: ["MIT"],
links: %{"github" => "https://github.com/ikeikeikeike/bing_translator"}
]
end
end