feat: rename executable to scrl

This commit is contained in:
Marcello 2023-01-27 16:27:08 +01:00
parent d10340a644
commit 38eb93354f
Signed by: m-lamonaca
SSH key fingerprint: SHA256:8db8uii6Gweq7TbKixFBioW2T8CbgtyFETyYL3cr3zk
5 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env pwsh
#!/usr/bin/env pwsh
function Test-CommandExists([Parameter(Mandatory)] [string] $command)
{
@ -12,7 +12,7 @@ function Test-CommandExists([Parameter(Mandatory)] [string] $command)
dotnet pack ./src -o ./nupkg
$exists = $(Test-CommandExists script-launcher)
$exists = $(Test-CommandExists scrl)
$action = $exists ? 'update' : 'install'
dotnet tool $action -g ScriptLauncher --add-source ./nupkg --ignore-failed-sources