forked from argotorg/fe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (30 loc) · 644 Bytes
/
Makefile
File metadata and controls
36 lines (30 loc) · 644 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
32
33
34
35
36
.PHONY: docker-coverage
docker-coverage:
./coverage.sh --out Html
.PHONY: docker-test
docker-test:
docker run \
--rm \
--volume "$(shell pwd):/mnt" \
--workdir '/mnt' \
rustlang/rust:nightly \
cargo test --workspace
.PHONY: docker-wasm-test
docker-wasm-test:
docker run \
--rm \
--volume "$(shell pwd):/mnt" \
--workdir '/mnt' \
davesque/rust-wasm \
wasm-pack test --node -- --workspace
.PHONY: clippy
clippy:
cargo clippy-preview -Z unstable-options --workspace
.PHONY: rustfmt
rustfmt:
cargo fmt --all -- --check
.PHONY: lint
lint: rustfmt clippy
.PHONY: build-docs
build-docs:
cargo doc --no-deps --workspace