sheetsui/Makefile

24 lines
448 B
Makefile
Raw Permalink Normal View History

2024-12-23 19:20:23 -05:00
rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
rust_files=$(call rwildcard,src,*.rs)
test: $(rust-files)
cargo test
build: $(rust-files)
cargo build
tarpaulin-report.%: $(rust_files)
2024-12-29 19:09:42 -05:00
cargo tarpaulin --skip-clean --engine llvm --out $*
2024-12-23 19:20:23 -05:00
cover: tarpaulin-report.html
view-cover: tarpaulin-report.html
open $<
clean-tarpaulin:
rm -f tarpaulin-report.*
clean: clean-tarpaulin
cargo clean