-
-
Notifications
You must be signed in to change notification settings - Fork 59
Related Projects
Roman Kuzmin edited this page Jul 30, 2016
·
7 revisions
OneBuild is a modular set of convention based .NET solution build scripts written in PowerShell, relying on Invoke-Build for task automation.
A PowerShell task runner based on Invoke-Build. PowerTasks was created in order to remove the boilerplate code from build scripts.
A Visual Studio Team Services extension which contains a build task that runs Invoke-Build build scripts.
This repo contain an example/template that could be used when adding a build script to a project.
- We have a PowerShell script that runs the build. This script does everything, including gathering dependencies, generating version numbers, compiling, running tests, building and publishing NuGet packages. A build on TeamCity should, ideally, be a call to this script, and it should produce the same output as running it locally.
- We use Invoke-Build as our 'make'.
- We have a
build\_init.ps1
script that defines the entry points for the PowerShell commands. - We use RedGate.Build as a useful library of build-related functions.
- Concepts
- Script Tutorial
- Incremental Tasks
- Partial Incremental Tasks
- How Build Works
- Special Variables
- Build Failures
- Build Analysis
- Parallel Builds
- Persistent Builds
- Portable Build Scripts
- Using for Test Automation
- Debugging Tips
- VSCode Tips
Helpers
- Invoke Task from VSCode
- Generate VSCode Tasks
- Invoke Task from ISE
- Resolve MSBuild
- Show Build Trees
- Show Build Graph
- Argument Completers
- Invoke-Build.template
Appendix