forked from nervosnetwork/sparse-merkle-tree
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 650 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 650 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
default: fmt clippy clippy-trie test test-trie bench-test bench-test-trie check test-c-impl test-cxx-build
test:
cargo test --all --features std,smtc
test-trie:
cargo test --all --all-features
bench-test:
cargo bench -- --test
bench-test-trie:
cargo bench --features trie -- --test
clippy:
cargo clippy --all --features std,smtc --all-targets
clippy-trie:
cargo clippy --all --all-features --all-targets
fmt:
cargo fmt --all -- --check
check:
cargo check --no-default-features
test-c-impl:
git submodule update --init --recursive
cd c/rust-tests && cargo test
test-cxx-build:
g++ -c src/ckb_smt.c -I c -o smt.o && rm -rf smt.o