Skip to content

Commit

Permalink
[refactor]: pre-commit hook to generate genesis into swarm as peer do…
Browse files Browse the repository at this point in the history
…es not exist

Signed-off-by: Asem-Abdelhady <asemshawkey@gmail.com>
  • Loading branch information
Asem-Abdelhady committed Feb 21, 2024
1 parent 64e9e31 commit 6a2cdf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/pre-commit.sample
Expand Up @@ -2,6 +2,6 @@
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
git add configs/swarm/genesis.json docs/source/references/schema.json

0 comments on commit 6a2cdf0

Please sign in to comment.