Packages

EctoGettext - library for localization Ecto validation errors with using Gettext

Current section

Files

Jump to
Raw

mix.exs

defmodule EctoGettext.Mixfile do
use Mix.Project
def project do
[app: :ecto_gettext,
version: "0.1.2",
elixir: "~> 1.1",
description: description,
package: package,
deps: deps]
end
defp description do
"""
EctoGettext - library for localization Ecto validation errors with using Gettext
"""
end
defp package do
[files: ["lib", "mix.exs", "README*"],
maintainers: ["Daniil Laptev"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/exbugs-elixir/ecto_gettext"}]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :gettext]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[{:gettext, "~> 0.8"}]
end
end