Add a root build.ps1 helper #11

Merged
hannah-vernon merged 1 commit from feature/root-build-script into dev 2026-07-03 15:43:57 -05:00

What does this PR do?

Adds a single build.ps1 helper at the repository root so common build tasks do not have to be run as separate dotnet invocations.

  • Restores and builds Tayler.slnx (warnings are errors, so a clean build is 0 / 0); -Configuration selects Debug or Release (Release default).
  • -Clean runs dotnet clean and clears publish\ and dist\.
  • -Publish produces a self-contained win-x64 build under publish\.
  • -Installer delegates to installer\build-installer.ps1 to produce the setup under dist\.
  • -NoRestore skips the implicit restore.

The version still comes from MinVer, so nothing needs to be passed in. README build section and project layout are updated.

How was this tested?

  • dotnet build Tayler.slnx -c Release - 0 errors, 0 warnings (via build.ps1)
  • Parse-validated the script and ran .\build.ps1 -Configuration Debug - 0 / 0.

Checklist

  • I have read the Contributing Guide
  • Changes are focused - one logical change per PR
  • Documentation updated (if user-visible behavior changed)
  • New dependencies are MIT/Apache-2.0 and security-vetted
  • No commented-out code or debug leftovers
## What does this PR do? Adds a single `build.ps1` helper at the repository root so common build tasks do not have to be run as separate `dotnet` invocations. - Restores and builds `Tayler.slnx` (warnings are errors, so a clean build is 0 / 0); `-Configuration` selects Debug or Release (Release default). - `-Clean` runs `dotnet clean` and clears `publish\` and `dist\`. - `-Publish` produces a self-contained win-x64 build under `publish\`. - `-Installer` delegates to `installer\build-installer.ps1` to produce the setup under `dist\`. - `-NoRestore` skips the implicit restore. The version still comes from MinVer, so nothing needs to be passed in. README build section and project layout are updated. ## How was this tested? - [x] `dotnet build Tayler.slnx -c Release` - 0 errors, 0 warnings (via `build.ps1`) - [x] Parse-validated the script and ran `.\build.ps1 -Configuration Debug` - 0 / 0. ## Checklist - [x] I have read the [Contributing Guide](../CONTRIBUTING.md) - [x] Changes are focused - one logical change per PR - [x] Documentation updated (if user-visible behavior changed) - [x] New dependencies are MIT/Apache-2.0 and security-vetted - [x] No commented-out code or debug leftovers
Add a single build entry point at the repository root so common tasks do not
have to be run as separate dotnet invocations.

- build.ps1 restores and builds Tayler.slnx (warnings are errors, so a clean
  build is 0/0); -Configuration selects Debug or Release (Release default).
- -Clean runs dotnet clean and clears publish\ and dist\.
- -Publish produces a self-contained win-x64 build under publish\.
- -Installer delegates to installer\build-installer.ps1 to produce the setup
  under dist\.
- -NoRestore skips the implicit restore.

The version still comes from MinVer, so nothing needs to be passed in. Parse-
validated and run in Debug (0 warnings / 0 errors). README build section and
project layout updated (also lists BoundedLogCollection.cs added in the previous
change).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hannah-vernon/tayler-log-tailer!11
No description provided.