Skip to content

Commit

Permalink
move ./run.sh into ./scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
t-nelson committed Sep 11, 2021
1 parent 91c3b18 commit 92e343d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ $ cd solana
$ cargo build
```

## **4. Run a minimal local cluster.**
```bash
$ ./run.sh
```

# Testing

**Run the test suite:**
Expand Down
2 changes: 1 addition & 1 deletion ci/run-sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion run.sh → scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdk/docker-solana/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92e343d

Please sign in to comment.