Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 893 Bytes

building-and-publishing.md

File metadata and controls

20 lines (15 loc) · 893 Bytes

Building and Publishing the Templates

This module is built using psake and tested using Pester.

PSake Tasks

To execute any build task simply use the following where task list is one or more from the numbered list below:

Invoke-psake -buildFile ./build/tasks.ps1 -taskList [task list]
  1. Build - Creates a ready to distribute module with all required files
  2. Check-And-Build - An internal task that conditionally executes a build if no build output is found
  3. Clean - Deletes all build artifacts and the distribution (dist) folder
  4. Default - Executes test
  5. Init - Initializes the build chain by installing dependencies
  6. Test - Executes all unit tests
  7. Publish - Publishes the module and all submodules to the PSGallery

To output the latest info on all of the build tasks execute Invoke-psake ./build/tasks.ps1 -detailedDocs.