# Switchboard Protocol Makefile

.PHONY: build test clippy fmt check ci publish clean

build:
	cargo build

test:
	cargo test

clippy:
	cargo clippy

clippy-pedantic:
	cargo clippy -- -W clippy::pedantic

fmt:
	cargo fmt

# Build + clippy + test
check: clippy test

# CI quality gate
ci:
	cargo check
	cargo fmt --check
	cargo clippy -- -W clippy::pedantic
	cargo test

publish:
	cargo publish --locked

clean:
	cargo clean
