defmodule Syntropy.MixProject do use Mix.Project def project do [ app: :syntropy, version: "0.1.0", elixir: "~> 1.17", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), listeners: [Phoenix.CodeReloader], aliases: aliases(), description: description(), package: package() ] end def application do [ mod: {Syntropy.Application, []}, extra_applications: [:logger, :runtime_tools] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_env), do: ["lib"] defp deps do [ {:phoenix, "~> 1.8.0"}, {:phoenix_html, "~> 4.2"}, {:phoenix_live_view, "~> 1.1"}, {:phoenix_live_reload, "~> 1.6", only: :dev}, {:plug_cowboy, "~> 2.7"}, {:jason, "~> 1.4"}, {:req, "~> 0.5"}, {:ecto_sql, "~> 3.13"}, {:postgrex, "~> 0.19"}, {:libcluster, "~> 3.4"}, {:lazy_html, ">= 0.1.0", only: :test}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.38", only: :dev, runtime: false}, {:stream_data, "~> 1.2", only: :test} ] end defp aliases do [ setup: ["deps.get"], "db.setup": ["ecto.create", "ecto.migrate"], "db.migrate": ["ecto.migrate"], "db.reset": ["ecto.drop", "ecto.create", "ecto.migrate"] ] end defp description do "An open-source multi-agent AI framework where agents are organized on a mathematical lattice." end defp package do [ licenses: ["BUSL-1.1"], links: %{"GitHub" => "https://github.com/syntropy-os/syntropyos.dev"} ] end end