Packages

Interactive CLI/REPL for the NSAI ecosystem: unified interface for Crucible experiments, CNS dialectical synthesis, and ML reliability research.

Current section

Files

Jump to
pilot mix.exs
Raw

mix.exs

defmodule Pilot.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/North-Shore-AI/pilot"
def version, do: @version
def project do
[
app: :pilot,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: escript(),
description: description(),
package: package(),
name: "Pilot",
source_url: @source_url,
homepage_url: @source_url,
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Pilot.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# CLI and UI
{:optimus, "~> 0.3"},
{:owl, "~> 0.8"},
{:table_rex, "~> 3.1"},
# HTTP client
{:req, "~> 0.4"},
# Configuration
{:yaml_elixir, "~> 2.9"},
# JSON
{:jason, "~> 1.4"},
# Development and testing
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
defp escript do
[
main_module: Pilot.CLI,
name: "pilot",
comment: "NSAI Ecosystem CLI/REPL"
]
end
defp description do
"""
Interactive CLI/REPL for the NSAI ecosystem: unified interface for Crucible experiments, CNS dialectical synthesis, and ML reliability research.
"""
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
assets: %{"assets" => "assets"},
logo: "assets/pilot.svg",
extras: ["README.md", "LICENSE"]
]
end
defp package do
[
name: "pilot",
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
files: ~w(lib mix.exs README.md LICENSE assets)
]
end
end