Expand description
§Maintain: CI/CD and Build Orchestrator for Code Editor Land
Maintain is the build system that compiles, bundles, and packages Land for all three platforms (macOS, Windows, Linux) from a single command. It replaces ad-hoc shell scripts with a structured Rust binary that handles profile management, Tauri builds, and development server orchestration.
§Two Modes
Build mode (default): Compile Land for release or debug with named profiles that configure Cargo flags, Tauri targets, and environment vars.
cargo run --bin Maintain -- --profile debug-mountain
cargo run --bin Maintain -- --list-profilesRun mode (--run): Start the development server with hot reload.
cargo run --bin Maintain -- --run --profile debug-mountain§Modules
Build: Build orchestration, profile resolution, Tauri invocationRun: Development server, watch mode, profile-aware dev buildsArchitecture: Target triple detection and platform support
Modules§
- Architecture
- Architecture Detection
- Build
- Build Orchestrator Module.
- Run
- Development Run Module.
Functions§
- main
- The primary entry point for the Maintain Orchestrator binary.