Packages

Spell checking for English, Spanish and French, with suggestions, autocorrect and custom dictionaries.

Current section

Files

Jump to
Raw

mix.exs

defmodule SpellChecker.MixProject do
  use Mix.Project

  def project do
    [
      app: :spell_checker,
      version: "0.3.0",
      elixir: "~> 1.15",
      start_permanent: Mix.env() == :prod,
      build_embedded: Mix.env() == :prod,
      description: description(),
      package: package(),
      deps: deps(),
      name: "spell_checker",
      source_url: "https://github.com/Adeyeye93/SpellChecker",
      docs: [
        main: "SpellChecker",
        extras: ["README.md"]
      ]
    ]
  end

  # Run "mix help compile.app" to learn about applications.
  def application do
    [
      extra_applications: [:logger]
    ]
  end

  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      {:ex_doc, "~> 0.29", only: :dev, runtime: false}
    ]
  end

  defp description() do
    "Spell checking for English, Spanish and French, with suggestions, autocorrect and custom dictionaries."
  end

  defp package() do
    [
      name: "spell_checker",
      licenses: ["Apache-2.0", "MPL-2.0", "MPL-1.1"],
      links: %{"GitHub" => "https://github.com/Adeyeye93/SpellChecker"},
      maintainers: ["Adeyeye Seyi"],
      files: ~w(lib priv mix.exs README* LICENSE* test)
    ]
  end
end