Skip to content

Commit

Permalink
refactor(fuel-core-nats): re-introduce command as dev/run-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurshsmith committed Jun 13, 2024
1 parent adb8e9e commit ab5091b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ setup: check-commands
# Development
# ------------------------------------------------------------

dev:
cargo run
dev/run-node:
./scripts/run-node.sh

dev-watch:
cargo watch -- cargo run
Expand All @@ -51,9 +51,6 @@ stop-nats:
run:
cargo run --release

run-fuel-core-nats:
./scripts/run-fuel-core-nats.sh

clean:
cargo clean
rm -rf release
Expand Down
4 changes: 1 addition & 3 deletions scripts/run-fuel-core-nats.sh → scripts/run-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ check_env_var "GENERATED_P2P_SECRET"
ETH_RPC_ENDPOINT="https://sepolia.infura.io/v3/${INFURA_API_KEY}"
P2P_SECRET="${GENERATED_P2P_SECRET}"

cd ./crates/fuel-core-nats

cargo run --all-features --bin fuel-core-nats -- \
cargo run -p fuel-core-nats -- \
--service-name "NATS Publisher Node" \
--ip 0.0.0.0 \
--port 4000 \
Expand Down

0 comments on commit ab5091b

Please sign in to comment.