.PHONY: fmt fmt-check lint test verify

fmt:
	cargo fmt --all
	taplo fmt

fmt-check:
	cargo fmt --all --check
	taplo fmt --check

lint:
	cargo clippy --workspace --all-targets --all-features -- -D warnings
	markdownlint-cli2 "README.md" "CHANGELOG.md" "docs/**/*.md"
	yamllint .markdownlint-cli2.yaml
	taplo check

test:
	cargo test --workspace

verify: fmt-check lint test
