Current section
Files
Jump to
Current section
Files
whatlangex
mix.exs
mix.exs
defmodule Whatlangex.MixProject do
use Mix.Project
def project do
[
app: :whatlangex,
version: "0.4.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Whatlang NIF bindings",
homepage_url: "https://github.com/pierrelegall/whatlangex",
package: package()
]
end
def package() do
[
maintainers: ["Pierre Le Gall"],
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/pierrelegall/whatlangex"
},
files: package_files()
]
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
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.37", only: :dev, runtime: false},
{:nimble_options, "~> 1.1"},
{:rustler, "~> 0.36"}
]
end
defp package_files do
~w(
.formatter.exs
LICENSE
README.md
lib/
mix.exs
native/whatlang_nif/.cargo/
native/whatlang_nif/Cargo.lock
native/whatlang_nif/Cargo.toml
native/whatlang_nif/README.md
native/whatlang_nif/src/
)
end
end