-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
47 lines (36 loc) · 783 Bytes
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.PHONY: all
all: check test clippy doc build
.PHONY: check
check:
cargo check --all-targets
.PHONY: test
test:
cargo test --no-default-features
.PHONY: test-watch
test-watch:
cargo watch -s "make test"
# TODO flaky as it doesn't always get the right state within 3 frames
.PHONY: test-compute-pool
test-compute-pool:
cargo test --features=compute-pool
.PHONY: clippy
clippy:
cargo clippy
.PHONY: doc
doc:
cargo doc --workspace --no-deps
.PHONY: doc-watch
doc-watch:
cargo watch -s "make doc"
.PHONY: build
build: check test clippy doc
cargo build
.PHONY: release
release: check test clippy doc
cargo build --release
.PHONY: test-coverage
test-coverage:
cargo tarpaulin --no-default-features -o html
.PHONY: wasm-examples
wasm-examples:
./build-wasm-examples.sh