-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 689 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (19 loc) · 689 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
.PHONY: fmt clippy-fix test-core-wasm test-node-browser publish-dry publish
fmt:
cargo +nightly fmt --all
# require taplo_cli, which can be install with
# cargo install taplo-cli
taplo format
# require typos_cli, which can be install with
# cargo install typos-cli
typos --write-changes
clippy-fix:
cargo clippy --fix --allow-dirty --no-deps
test-core-wasm:
cd crates/core; wasm-pack test --chrome --features browser_chrome_test --no-default-features
test-node-browser:
cd crates/node; wasm-pack test --chrome --features browser_chrome_test --no-default-features
publish-dry:
bash scripts/cargo-publish-crates.sh dry-run
publish:
bash scripts/cargo-publish-crates.sh publish