forked from octaltree/playwright-rust
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 738 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: format lint test doc
cargo build --release
dev:
cargo fmt
cargo clippy --all-targets
cargo test
cargo doc
d:
cargo watch -c -s 'make dev'
format:
cargo fmt
lint:
cargo clippy --all-targets
cargo clippy --no-default-features --features chrono --features rt-actix --all-targets
cargo clippy --no-default-features --features chrono --features rt-async-std --all-targets
test:
cargo test hello
cargo test --all-targets
cargo test --no-default-features --features chrono --features rt-actix --all-targets
cargo test --no-default-features --features chrono --features rt-async-std --all-targets
doc:
cargo doc
cov:
cargo tarpaulin --out html --exclude-files scripts/ tests/ src/build.rs src/main.rs src/generated.rs