Quellcode durchsuchen

move `./run.sh` into `./scripts`

Trent Nelson vor 4 Jahren
Ursprung
Commit
92e343da26
4 geänderte Dateien mit 3 neuen und 8 gelöschten Zeilen
  1. 0 5
      README.md
  2. 1 1
      ci/run-sanity.sh
  3. 1 1
      scripts/run.sh
  4. 1 1
      sdk/docker-solana/build.sh

+ 0 - 5
README.md

@@ -57,11 +57,6 @@ $ cd solana
 $ cargo build
 ```
 
-## **4. Run a minimal local cluster.**
-```bash
-$ ./run.sh
-```
-
 # Testing
 
 **Run the test suite:**

+ 1 - 1
ci/run-sanity.sh

@@ -7,7 +7,7 @@ source multinode-demo/common.sh
 
 rm -rf config/run/init-completed config/ledger config/snapshot-ledger
 
-SOLANA_RUN_SH_VALIDATOR_ARGS="--snapshot-interval-slots 200" timeout 120 ./run.sh &
+SOLANA_RUN_SH_VALIDATOR_ARGS="--snapshot-interval-slots 200" timeout 120 ./scripts/run.sh &
 pid=$!
 
 attempts=20

+ 1 - 1
run.sh → scripts/run.sh

@@ -8,7 +8,7 @@
 set -e
 
 # Prefer possible `cargo build` binaries over PATH binaries
-cd "$(dirname "$0")/"
+cd "$(dirname "$0")/.."
 
 profile=debug
 if [[ -n $NDEBUG ]]; then

+ 1 - 1
sdk/docker-solana/build.sh

@@ -23,7 +23,7 @@ rm -rf usr/
 ../../ci/docker-run.sh "$rust_stable_docker_image" \
   scripts/cargo-install-all.sh sdk/docker-solana/usr
 
-cp -f ../../run.sh usr/bin/solana-run.sh
+cp -f ../../scripts/run.sh usr/bin/solana-run.sh
 cp -f ../../fetch-spl.sh usr/bin/
 (
   cd usr/bin