Add Cargo Watch to install scripts (#584)

This commit is contained in:
Oscar Beaumont 2023-02-27 13:54:26 +08:00 committed by GitHub
parent faeb0473cf
commit c6455dd439
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -68,6 +68,9 @@ else {
Write-Host "Cargo is installed." Write-Host "Cargo is installed."
} }
Write-Host "Installing Rust tools" -ForegroundColor Yellow
cargo install cargo-watch
Write-Host Write-Host
Write-Host "Checking for pnpm..." -ForegroundColor Yellow Write-Host "Checking for pnpm..." -ForegroundColor Yellow
Start-Sleep -Milliseconds 150 Start-Sleep -Milliseconds 150

View file

@ -37,6 +37,9 @@ else
echo "Skipping pnpm check." echo "Skipping pnpm check."
fi fi
echo "Installing Rust tools"
cargo install cargo-watch
echo echo
if [ "$1" == "mobile" ]; then if [ "$1" == "mobile" ]; then