move `./run.sh` into `./scripts`
This commit is contained in:
parent
91c3b18e1e
commit
92e343da26
|
@ -57,11 +57,6 @@ $ cd solana
|
||||||
$ cargo build
|
$ cargo build
|
||||||
```
|
```
|
||||||
|
|
||||||
## **4. Run a minimal local cluster.**
|
|
||||||
```bash
|
|
||||||
$ ./run.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
|
|
||||||
**Run the test suite:**
|
**Run the test suite:**
|
||||||
|
|
|
@ -7,7 +7,7 @@ source multinode-demo/common.sh
|
||||||
|
|
||||||
rm -rf config/run/init-completed config/ledger config/snapshot-ledger
|
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=$!
|
pid=$!
|
||||||
|
|
||||||
attempts=20
|
attempts=20
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Prefer possible `cargo build` binaries over PATH binaries
|
# Prefer possible `cargo build` binaries over PATH binaries
|
||||||
cd "$(dirname "$0")/"
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
profile=debug
|
profile=debug
|
||||||
if [[ -n $NDEBUG ]]; then
|
if [[ -n $NDEBUG ]]; then
|
|
@ -23,7 +23,7 @@ rm -rf usr/
|
||||||
../../ci/docker-run.sh "$rust_stable_docker_image" \
|
../../ci/docker-run.sh "$rust_stable_docker_image" \
|
||||||
scripts/cargo-install-all.sh sdk/docker-solana/usr
|
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/
|
cp -f ../../fetch-spl.sh usr/bin/
|
||||||
(
|
(
|
||||||
cd usr/bin
|
cd usr/bin
|
||||||
|
|
Loading…
Reference in New Issue