From 2e9d49768d4407fa276b8bee2f141cb24a04c269 Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Wed, 25 May 2022 18:20:53 +0200 Subject: [PATCH] Allow installation as dotnet tool --- dotnet-install-tool.ps1 | 2 ++ src/ScriptLauncher.csproj | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 dotnet-install-tool.ps1 diff --git a/dotnet-install-tool.ps1 b/dotnet-install-tool.ps1 new file mode 100644 index 0000000..4815a6d --- /dev/null +++ b/dotnet-install-tool.ps1 @@ -0,0 +1,2 @@ +dotnet pack ./src -o ./nupkg +dotnet tool install -g ScriptLauncher --add-source ./nupkg --ignore-failed-sources \ No newline at end of file diff --git a/src/ScriptLauncher.csproj b/src/ScriptLauncher.csproj index febac53..ac43673 100644 --- a/src/ScriptLauncher.csproj +++ b/src/ScriptLauncher.csproj @@ -6,6 +6,8 @@ enable enable 0.1.0 + true + script-launcher