Borg/docs/development.md

36 lines
717 B
Markdown

# Development
Prerequisites:
- Go 1.25 or newer
- Task (optional) — https://taskfile.dev
- MkDocs Material (optional for docs) — `pip install mkdocs-material`
## Workspace
This repo includes a `go.work` file configured for Go 1.25 to align with common workflows.
## Build
- go build ./...
- task build
## Test
- go test ./...
- task test
Note: Some tests may require network or git tooling depending on environment (e.g., pushing to a temporary repo). No functional changes were made in this task.
## Run
- task run
- ./borg --help
## Docs
Serve the documentation locally with MkDocs:
- pip install mkdocs-material
- mkdocs serve
The site configuration lives in `mkdocs.yml` and content in `docs/`.