Skip to content

Behind the Scenes

Luca Sgroi edited this page May 5, 2017 · 4 revisions

Pask is NuGet driven, so to say, it finds the tools required in NuGet packages. Therefore the build process minimizes environmental dependencies becoming self-initialized. The build is invoked against a temporary build script to wrap some background initialization as well as the .build\build.ps1 script.

Broadly, these are the end to end steps of each build:

  • Restore NuGet packages marked as development-only-dependency
  • Set the default project
  • Import Init.ps1 and Properties.ps1 from each scripts directory found, in order, within any Pask.* package, Pask.* solution project and .build solution directory
  • Invoke the build
  • Show the summary information
PS > .\Pask.ps1
Restore NuGet development dependencies
Set default project MyProject
Build Clean C:\Users\l.sgroi\AppData\Local\Temp\bkq1lmrr.pjf.ps1
...
Done /. 00:00:06.9818500
Build summary:
...
Build succeeded. 8 tasks, 0 errors, 0 warnings 00:00:07.3761219