defmodule ExAI.MixProject do use Mix.Project def project do [ app: :ex_ai, version: "0.1.0", elixir: "~> 1.19", start_permanent: Mix.env() == :prod, description: "Graph-first runtime for building agent systems on the BEAM in Elixir", package: package(), source_url: "https://github.com/kwaude/exai", homepage_url: "https://github.com/kwaude/exai", docs: [main: "readme", extras: ["README.md"]], dialyzer: [ plt_file: {:no_warn, "priv/plts/project.plt"}, ignore_warnings: ".dialyzer_ignore.exs", plt_add_apps: [:mix] ], deps: deps() ] end def cli do [preferred_envs: [dialyzer: :test]] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :mnesia], mod: {ExAI.Application, []} ] end defp package do [ name: "ex_ai", files: ~w(lib priv .formatter.exs mix.exs README.md LICENSE*), licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/kwaude/exai" } ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:jason, "~> 1.4"}, {:plug_cowboy, "~> 2.7"}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end end