Calamari
Calamari copied to clipboard
Isaac/dotnet script local tool
This change adds support for using a locally installed version of dotnet-script. Execution uses in order:
-
dotnet tool list -g dotnet-script
to check if dotnet-script is installed. If it is we invoke the tool directly - Check if dotnet-script is on path with
where/which
- Fall back to the bundled version
dotnet-script tool installed on WSL:
dotnet-script tool installed on Windows (Note this uses the C:\Windows\system32\config\systemprofile
userprofile so dotnet-script must be installed under this user):
WSL dotnet-script on path (Failed task was from a previous uninstall dotnet-script tool step):
Windows dotnet-script on path:
WSl bundled:
Windows bundled: