FIGURES =$(wildcard assets/diagrams/flowcharts/*.d2) SVG_OUTPUT_DIR = assets/diagrams/svg # Build the library all: cargo build # Build figures and diagrams fig-build: $(FIGURES) ./scripts/build-diagrams --output $(SVG_OUTPUT_DIR) $? # Build the library documentation doc: cargo doc --no-deps -p rsblkid-sys -p rsblkid # Rebuild documentation and diagrams doc-rebuild: fig-build doc # Run unit/integration tests test: cargo nextest run # Run doc tests doctest: cargo test --doc # Run all tests fulltest: test doctest