Packages

Translate strings using the Bing HTTP API. Requires that you have a Client ID and Secret. See README.md for information.

Current section

Files

Jump to
Raw

mix.exs

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