defmodule BamlElixir.MixProject do
use Mix.Project
@version "1.0.0-pre.23.next.1"
def project do
[
app: :baml_elixir,
description:
"Preview channel for BAML Elixir bindings. Implements features ahead of the mainline baml_elixir library.",
version: @version,
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
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 elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:rustler, "~> 0.36.1", optional: true},
{:rustler_precompiled, "~> 0.8"},
{:mox, "~> 1.1", only: :test},
{:bypass, "~> 2.1", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp package do
[
name: "baml_elixir_next",
files: [
"lib",
"checksum-*.exs",
"mix.exs",
"LICENSE"
],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/bradleygolden/baml_elixir_next",
"Upstream" => "https://github.com/emilsoman/baml_elixir"
},
maintainers: ["Bradley Golden"]
]
end
end