Skip to content

Commit

Permalink
[fix] update commit hook sample
Browse files Browse the repository at this point in the history
Signed-off-by: VAmuzing <amuzik95@gmail.com>
  • Loading branch information
VAmuzing committed Mar 25, 2024
1 parent bc0a1da commit 5cb641f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hooks/pre-commit.sample
Expand Up @@ -2,6 +2,8 @@
set -e
cargo +nightly fmt --all -- --check
cargo +nightly lints clippy --workspace --benches --tests --examples --all-features
cargo run --bin kagami -- genesis >configs/peer/genesis.json
cargo run --bin kagami -- genesis >configs/swarm/genesis.json
cargo run --bin kagami -- schema >docs/source/references/schema.json
git add configs/peer/genesis.json docs/source/references/schema.json
cargo run --bin kagami -- crypto key-pair-generation -j >configs/swarm/keypair.json
cargo run --bin kagami -- crypto --keypair-path configs/swarm/keypair.json --genesis-path configs/swarm/genesis.json --chain-id 01234 -o configs/swarm/signes_genesis.scale
git add configs/peer/genesis.json configs/swarm/keypair.json configs/swarm/signes_genesis.scale docs/source/references/schema.json

0 comments on commit 5cb641f

Please sign in to comment.