vid/bin/v-cargo.cmd

4 lines
126 B
Batchfile

@echo off
where cargo.exe 2>nul >nul
if errorlevel 1 call v-scoop install rust & call %~dp0\v-choco-refreshenv
cargo.exe %*