diff --git a/Makefile b/Makefile index 27fc1e9..7695a5a 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,8 @@ setup: check-commands # Development # ------------------------------------------------------------ -dev: - cargo run +dev/run-node: + ./scripts/run-node.sh dev-watch: cargo watch -- cargo run @@ -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 diff --git a/scripts/run-fuel-core-nats.sh b/scripts/run-node.sh similarity index 93% rename from scripts/run-fuel-core-nats.sh rename to scripts/run-node.sh index f7fd28a..615f096 100755 --- a/scripts/run-fuel-core-nats.sh +++ b/scripts/run-node.sh @@ -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 \