-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 758 Bytes
/
Makefile
File metadata and controls
31 lines (25 loc) · 758 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
.PHONY: run run-ibtida format-code benchmarks-build benchmarks-generate test
run:
cargo run -- --dev --tmp
run-ibtida:
docker-compose -f docker-compose.ibtida.yml down
scripts/generate-keys.sh
scripts/generate-chain-spec.sh
scripts/import-keys.sh
docker-compose -f docker-compose.ibtida.yml up
format-code:
cargo fmt
benchmarks-build:
cargo build --release --manifest-path node/Cargo.toml --features runtime-benchmarks
benchmarks-generate:
./target/release/anmol benchmark \
--extrinsic '*' \
--pallet pallet_nft \
--output ./pallets/nft/src/weights.rs \
--execution wasm \
--wasm-execution compiled \
--template=./.maintain/frame-weight-template.hbs \
--steps 50 \
--repeat 20 \
test:
cargo test -p pallet-nft --all-features