defmodule ALTAR.MixProject do use Mix.Project @version "0.0.1" @source_url "https://github.com/nshkrdotcom/ALTAR" def project do [ app: :altar, version: @version, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), name: "ALTAR", docs: docs() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:jason, "~> 1.4"}, {:ex_doc, "~> 0.31", only: :dev, runtime: false} ] end defp description do "The canonical Elixir implementation of the Altar Host, a protocol for secure, observable, and stateful interoperability between AI agents and tools." end defp package do [ maintainers: ["nshkrdotcom"], licenses: ["MIT"], links: %{ "GitHub" => @source_url, "Sponsor" => "https://github.com/sponsors/nshkrdotcom", "Specification" => "https://github.com/nshkrdotcom/ALTAR/tree/main/.kiro/specs/altar-protocol" }, files: ~w(lib assets priv .formatter.exs mix.exs README* LICENSE* CHANGELOG* docs) ] end defp docs do [ main: "readme", extras: ["README.md", "LICENSE", "priv/docs/202507803_ALTAR_spec_draft.md", "priv/docs/20250803_kiroSpecFinished_NextSteps.md", "priv/docs/specs/altar-protocol/design.md", "priv/docs/specs/altar-protocol/requirements.md", "priv/docs/specs/altar-protocol/tasks.md"], assets: %{"assets" => "assets"}, logo: "assets/altar-logo.svg", source_ref: "v#{@version}", source_url: @source_url, before_closing_head_tag: &docs_before_closing_head_tag/1, before_closing_body_tag: &docs_before_closing_body_tag/1 ] end defp docs_before_closing_head_tag(:html) do """ """ end defp docs_before_closing_head_tag(_), do: "" defp docs_before_closing_body_tag(:html) do """ """ end defp docs_before_closing_body_tag(_), do: "" end