mirror of
https://github.com/m-lamonaca/script-launcher.git
synced 2025-04-05 18:06:28 +00:00
Allow installation as dotnet tool
This commit is contained in:
parent
26e5404c1a
commit
2e9d49768d
2 changed files with 4 additions and 0 deletions
2
dotnet-install-tool.ps1
Normal file
2
dotnet-install-tool.ps1
Normal file
|
@ -0,0 +1,2 @@
|
|||
dotnet pack ./src -o ./nupkg
|
||||
dotnet tool install -g ScriptLauncher --add-source ./nupkg --ignore-failed-sources
|
|
@ -6,6 +6,8 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>0.1.0</Version>
|
||||
<PackAsTool>true</PackAsTool>
|
||||
<ToolCommandName>script-launcher</ToolCommandName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Add table
Reference in a new issue