- macOS, Linux badge and AI suggestions showcase in README - Update user guide and docs for development
1.2 KiB
1.2 KiB
Development guide
This document outlines the development workflow, build system, and coding conventions for contributors working on the Iris codebase.
Environment setup
Clone the repository and sync dependencies:
git clone https://github.com/versenilvis/iris.git
cd iris
go mod tidy
Modular just command runner
We use just as our primary command runner. Recipes are organized into modular files under justfiles/:
justfiles/build.just([build]group):build,optimized-build,build-release <version>justfiles/dev.just([dev]group):run,config-init,reload,copyjustfiles/test.just([test]group):test,lint,analyze(aliasana)justfiles/gen.just([gen]group):gen-docsjustfiles/pkg.just([pkg]group):pkgjustfiles/debug.just([debug]group):debug,debug-update,debug-notify,debug-install
Run just -l to quickly view all available recipes organized by group.
Building and testing
Rapid hot-reload
just reload
Running unit tests
just test
# OR
go test -v ./...
Running linter
just lint
# OR
golangci-lint run ./...