From 0b239cefae6db5204aaf9142809ccb03c485cecb Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Tue, 17 Feb 2026 00:17:04 -0800 Subject: [PATCH] Add local tool install --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f8ecdb4..f1bca9e 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ help: @echo " make format - Run dotnet format" @echo " make test - Run tests" @echo " make pack - Build NuGet package (Release)" + @echo " make install - Install ripsharp as a global dotnet tool (local package)" @echo " make clean - Clean build outputs" # Restore NuGet packages @@ -34,6 +35,11 @@ test: build pack: build dotnet pack -c Release src/RipSharp +# Install ripsharp as a global dotnet tool from local package output +install: pack + @dotnet tool update --global BugZapperLabs.RipSharp --add-source src/RipSharp/bin/Release \ + || dotnet tool install --global BugZapperLabs.RipSharp --add-source src/RipSharp/bin/Release + # Clean build outputs clean: dotnet clean RipSharp.sln