mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-23 05:19:48 -04:00
Compare commits
10 Commits
4ae7f357c1
...
80b17c1cb6
Author | SHA1 | Date | |
---|---|---|---|
80b17c1cb6 | |||
8e7895cdbc | |||
240149caba | |||
2bd4b1ff83 | |||
57b1681933 | |||
76b4d46222 | |||
fa5c2c2d58 | |||
65b0fc4bba | |||
d09e8d4902 | |||
d93f0ec90c |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/target
|
||||
result/
|
||||
*.json
|
||||
tarpaulin-report.*
|
||||
|
23
Makefile
Normal file
23
Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
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)
|
||||
cargo tarpaulin --skip-clean --test --out $*
|
||||
|
||||
cover: tarpaulin-report.html
|
||||
|
||||
view-cover: tarpaulin-report.html
|
||||
open $<
|
||||
|
||||
clean-tarpaulin:
|
||||
rm -f tarpaulin-report.*
|
||||
|
||||
clean: clean-tarpaulin
|
||||
cargo clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user