Packages

Integration with the LingoHub API and some nice mix tasks to integrate with gettext.

Current section

Files

Jump to
lingo_hub mix.exs
Raw

mix.exs

defmodule LingoHub.MixProject do
use Mix.Project
def project do
[
app: :lingo_hub,
version: "0.1.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
lingo_hub: lingo_hub(),
name: "LingoHub",
source_url: "https://github.com/LostKobrakai/lingohub"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :jason]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpoison, "~> 1.4"},
{:gettext, "~> 0.16.0", optional: true},
{:jason, "~> 1.1", optional: true},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
defp description do
"Integration with the LingoHub API and some nice mix tasks to integrate with gettext."
end
defp package do
[
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*
CHANGELOG*),
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/LostKobrakai/lingohub"}
]
end
defp lingo_hub do
[
account: "madeit",
project: "lingohub-elixir"
]
end
end