-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (22 loc) · 935 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
run-tmp:
cargo run -- --dev --tmp
run:
cargo run -- --dev
toolchain:
./scripts/init.sh
build:
cargo build
check:
SKIP_WASM_BUILD= cargo check --all --tests
test:
SKIP_WASM_BUILD= cargo test --all
purge:
cargo run -- purge-chain --dev -y
restart: purge run
init: toolchain build-full
benchmark-output:
cargo run --manifest-path node/Cargo.toml --release --features runtime-benchmarks -- benchmark --extrinsic '*' --pallet pallet_kitties --output runtime/src/weights/pallet_kitties.rs --execution=wasm --wasm-execution=compiled
benchmark-traits:
cargo run --manifest-path node/Cargo.toml --release --features runtime-benchmarks -- benchmark --extrinsic '*' --pallet pallet_kitties --output pallets/kitties/src/weights.rs --template=frame-weight-template.hbs --execution=wasm --wasm-execution=compiled
test-benchmark:
cargo test --manifest-path pallets/kitties/Cargo.toml --features runtime-benchmarks -- --nocapture