Development Procedures
This guide outlines the standard procedures for developing and maintaining this project.
Using the Makefile
Section titled “Using the Makefile”The Makefile provides a standardized way to interact with the project across different operating systems.
Essential Commands
Section titled “Essential Commands”| Command | Description |
|---|---|
make setup | Initial setup (permissions, tool checks) |
make run | Runs the main application |
make build | Full project build including tests |
make test | Runs all unit tests |
make check | Runs all quality checks (format + lint + tests) |
make format | Automatically fixes code formatting |
make clean | Removes build artifacts |
Documentation Commands
Section titled “Documentation Commands”make docs: Generates Dokka API documentation.make docs-web-build: Builds the Starlight website.make docs-web-dev: Starts the development server for the website.
Workflow
Section titled “Workflow”- Setup: Run
make setuponce after cloning. - Development: Write code in
app/orexamples/. - Formatting: Run
make formatfrequently to keep code clean. - Verification: Run
make checkbefore committing to ensure everything passes. - Testing: Add tests in
src/testand run them withmake test.
Adding Dependencies
Section titled “Adding Dependencies”To add a new dependency:
- Define it in
gradle/libs.versions.toml. - Reference it in the desired module’s
build.gradle.ktsusinglibs.<name>. - Run
make buildto verify.