Bumps k-ap to 0.3.1 which adds bio, banner_url, followers_url, following_url, and also_known_as to RemoteActor. These are populated from fetched actor JSON at follow/ingest time so followers and following listings no longer return null profile fields. Adds migration 015 for the new remote_actors columns, updates all JOIN queries in postgres-federation to select and return the new fields, and maps them through k_ap_actor_to_domain. Also fixes clippy: remove empty line after doc comment in port.rs.
29 lines
555 B
Makefile
29 lines
555 B
Makefile
.DEFAULT_GOAL := check
|
|
|
|
# Run the full local check suite — same order as CI would.
|
|
check: fmt-check clippy test
|
|
@echo "✅ All checks passed"
|
|
|
|
# Apply rustfmt to all files.
|
|
fmt:
|
|
cargo fmt
|
|
|
|
# Check formatting without modifying files (CI-safe).
|
|
fmt-check:
|
|
cargo fmt --check
|
|
|
|
# Run Clippy and treat warnings as errors.
|
|
clippy:
|
|
cargo clippy -- -D warnings
|
|
|
|
# Run the test suite.
|
|
test:
|
|
cargo test
|
|
|
|
# Apply fmt + clippy auto-fixes in one shot.
|
|
fix:
|
|
cargo fmt
|
|
cargo clippy --fix --allow-dirty --allow-staged
|
|
|
|
.PHONY: check fmt fmt-check clippy test fix
|