Skip to content

Package sherpa-inspector as a dotnet tool#170

Merged
Redth merged 2 commits into
mainfrom
redth/inspector-tool-ci
May 25, 2026
Merged

Package sherpa-inspector as a dotnet tool#170
Redth merged 2 commits into
mainfrom
redth/inspector-tool-ci

Conversation

@Redth
Copy link
Copy Markdown
Owner

@Redth Redth commented May 25, 2026

sherpa-inspector needs a NuGet-distributed dotnet tool package so CI can produce a stable installer path in addition to self-contained executable builds.

Summary

  • Configures Sherpa.AppInspector.Cli as a packable dotnet tool with the sherpa-inspector command, NuGet metadata, and packaged README.
  • Adds AppInspector CLI tests to the main build/test workflow.
  • Adds a publish-inspector-tool CI job that packs the .nupkg, uploads it as an artifact, publishes to NuGet.org on v* tags, and includes the package in GitHub releases.
  • Updates README, docs, and website guidance for dotnet tool install --global Sherpa.AppInspector.Cli.

Testing

  • dotnet test tests/MauiSherpa.AppInspector.Cli.Tests/Sherpa.AppInspector.Cli.Tests.csproj --configuration Release --verbosity minimal
  • dotnet pack src/MauiSherpa.AppInspector.Cli/Sherpa.AppInspector.Cli.csproj -c Release -o <artifact-dir>
  • dotnet tool install --tool-path <tool-dir> --add-source <artifact-dir> --no-cache Sherpa.AppInspector.Cli --version 0.8.1
  • <tool-dir>/sherpa-inspector --help

Redth and others added 2 commits May 25, 2026 14:07
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Redth Redth marked this pull request as ready for review May 25, 2026 18:10
@Redth Redth merged commit b8594c6 into main May 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant