Skip to content

Commit

Permalink
Use stable Rust from ./scripts/run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Aug 2, 2018
1 parent b71c418 commit 31ee0df
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ trap 'kill $(jobs -p)' EXIT

DELAY=5
LOG=/tmp/electrs.log
CARGO="cargo +stable"

tail -v -n0 -F "$LOG" &

export RUST_BACKTRACE=1
while :
do
cargo fmt
cargo check --release
cargo run --release -- $* 2>> "$LOG"
$CARGO fmt
$CARGO check --release
$CARGO run --release -- $* 2>> "$LOG"
echo "Restarting in $DELAY seconds..."
sleep $DELAY
done

0 comments on commit 31ee0df

Please sign in to comment.