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