Add a root build.ps1 helper #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/root-build-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What does this PR do?
Adds a single
build.ps1helper at the repository root so common build tasks do not have to be run as separatedotnetinvocations.Tayler.slnx(warnings are errors, so a clean build is 0 / 0);-Configurationselects Debug or Release (Release default).-Cleanrunsdotnet cleanand clearspublish\anddist\.-Publishproduces a self-contained win-x64 build underpublish\.-Installerdelegates toinstaller\build-installer.ps1to produce the setup underdist\.-NoRestoreskips 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 (viabuild.ps1).\build.ps1 -Configuration Debug- 0 / 0.Checklist