Skip to content

Commit

Permalink
chore: update command to build base spec with release flag
Browse files Browse the repository at this point in the history
  • Loading branch information
steinerkelvin committed Jan 3, 2025
1 parent 4c720cb commit 42342ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ run-localnode profile="--alice":
base_spec_path := "node/specs/base.json"

gen-base-spec:
cargo run -p torus-node -- build-spec --chain dev > "{{base_spec_path}}"
cargo run -p torus-node --release -- build-spec --chain dev > "{{base_spec_path}}"

gen-spec-file env: gen-base-spec
mkdir -p tmp/spec
Expand All @@ -26,7 +26,9 @@ gen-spec-file env: gen-base-spec
--balances-file data/torus-genesis-balances.json \
--merge-balances \
--name "Torus {{env}} $node_version" \
> tmp/spec/{{env}}.json
> "tmp/spec/{{env}}.json"

@echo "Spec file generated at: tmp/spec/{{env}}.json"

# Github Actions

Expand Down

0 comments on commit 42342ab

Please sign in to comment.