Developer Guide
Make Commands
This repository defines the following make targets:
make tests: run the package test suite (test/runtests.jl).make doc: build the documentation site fromdocs/.make format: format all tracked*.jlfiles with Runic.
Consistent Formatting (Runic)
Corpuscles.jl uses Runic for consistent Julia formatting.
- CI validates formatting on pull requests.
- Locally, run
make formatbefore committing.
To run a formatting check without modifying files:
git ls-files -z -- '*.jl' | xargs -0 --no-run-if-empty julia --project=@runic --startup-file=no -e 'using Runic; exit(Runic.main(ARGS))' -- --check --diff