forked from rmrk-team/rmrk-substrate
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
35 lines (24 loc) · 849 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
run-debug:
cargo run -- --dev
run:
cargo run --release -- --dev
toolchain:
./scripts/init.sh
build:
cargo build --release
check:
SKIP_WASM_BUILD= cargo check --all --tests
test:
SKIP_WASM_BUILD= cargo test --all
t:
cargo test -p pallet-rmrk-core -- --nocapture && \
cargo test -p pallet-rmrk-market -- --nocapture && \
cargo test -p pallet-rmrk-equip -- --nocapture
purge:
cargo run -- purge-chain --dev -y
restart: purge run
init: toolchain build-full
benchmark-output-core:
cargo run --manifest-path node/Cargo.toml --release --features runtime-benchmarks -- benchmark --extrinsic '*' --pallet pallet_rmrk_core --output runtime/src/weights/pallet_rmrk_core.rs --execution=wasm --wasm-execution=compiled
test-benchmark-core:
cargo test --manifest-path pallets/rmrk-core/Cargo.toml --features runtime-benchmarks -- --nocapture