Skip to content

Development

Prerequisites

  • Crystal 1.10+
  • Shards
  • Make

Build

make deps
make build      # debug binary
make release    # optimized binary
make static     # static binary (Linux/musl)

Test

make test
make test-verbose
crystal spec spec/autobot/tools/filesystem_spec.cr

Quality

make format
make format-check
make lint

Docker

make docker-build
make docker-run
make docker-shell
make docker-size

Documentation

Preview the docs site locally:

pip install 'mkdocs<2' mkdocs-material
mkdocs serve

This starts a dev server at http://127.0.0.1:8000/autobot/ with live reload — any changes to docs/ or mkdocs.yml are reflected immediately.

Release Artifacts

make release-all
make checksums