mirror of
https://github.com/m-lamonaca/script-launcher.git
synced 2025-05-15 01:34:46 +00:00
feat: rename executable to scrl
This commit is contained in:
parent
d10340a644
commit
38eb93354f
5 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue