mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Use stable Rust from ./scripts/run.sh
This commit is contained in:
parent
b71c41854e
commit
31ee0df0bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user