Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ NIXIE ?= nixie
COV_MIN ?= 0 # Minimum line coverage percentage for coverage targets

define CHECK_CARGO_LLVM_COV
@command -v cargo-llvm-cov >/dev/null || { \
echo "error: cargo-llvm-cov not found. Install with: cargo install cargo-llvm-cov"; \
exit 127; \
}
@command -v cargo-llvm-cov >/dev/null || { \
echo "error: cargo-llvm-cov not found. Install with: cargo install cargo-llvm-cov" >&2; \
exit 127; \
}
@command -v rustup >/dev/null || { \
echo "error: rustup not found. Install from: https://rustup.rs" >&2; \
exit 127; \
}
@rustup component list --installed | grep -q '^llvm-tools-preview' || { \
echo "error: rustup component llvm-tools-preview not found. Install with: rustup component add llvm-tools-preview" >&2; \
exit 127; \
}
endef

build: target/debug/$(APP) ## Build debug binary
Expand Down
Loading