Packages

Meilisearch client for Elixir with support for importing your Ecto schemas.

Current section

Files

Jump to
Raw

mix.exs

defmodule ExMeilisearch.MixProject do
use Mix.Project
@source_url "https://github.com/jaeyson/ex_meilisearch"
@canonical "https://hexdocs.pm/ex_meilisearch"
@version "0.0.1"
def project do
[
app: :ex_meilisearch,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Meilisearch client for Elixir with support for importing your Ecto schemas.",
name: "ExMeilisearch",
source_url: @source_url,
docs: docs(),
package: package()
]
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
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:ex_doc, "~> 0.34", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:req, "~> 0.5"}
]
end
defp docs do
[
api_reference: false,
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
canonical: @canonical,
formatters: ["html"],
extras: [
"README.md"
]
]
end
defp package do
[
maintainers: ["Jaeyson Anthony Y."],
licenses: ["MIT"],
links: %{
"Github" => @source_url,
"Changelog" => "#{@canonical}/changelog.html",
"Meilisearch website" => "https://www.meilisearch.com",
"Meilisearch documentation" => "https://www.meilisearch.com/docs"
}
]
end
end