Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Anthropix.MixProject do
use Mix.Project
def project do
[
app: :anthropix,
name: "Anthropix",
description: "Unofficial Anthropic API client for Elixir. Integrate Claude, Anthropic's powerful language model, into your applications.",
source_url: "https://github.com/lebrunel/anthropix",
version: "0.5.0",
elixir: "~> 1.13",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
main: "Anthropix"
],
package: [
name: "anthropix",
files: ~w(lib .formatter.exs mix.exs README.md LICENSE),
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/lebrunel/anthropix"
}
]
]
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.35", only: :dev, runtime: false},
{:jason, "~> 1.4"},
{:nimble_options, "~> 1.1"},
{:plug, "~> 1.16", only: :test},
{:req, "~> 0.5"},
]
end
defp elixirc_paths(:test), do: ["lib", "test"]
defp elixirc_paths(_), do: ["lib"]
end