techthoughts2 / Catesta

Catesta is a PowerShell module and vault project generator. It uses templates to rapidly scaffold test and build integration for a variety of CI/CD platforms.

Home Page:https://www.catesta.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build file is not cleaning up Imports file after build completed

techthoughts2 opened this issue · comments

Expected Behavior

After module build is completed the BuildTask should cleanup leftover artifacts.

Current Behavior

Once module build is complete the Imports.ps1 is left behind despite having been merged into the psm1.

Possible Solution

Add a step in the cleanup process to remove the Imports.ps1 file.

Steps to Reproduce

  1. Create a new project
  2. Build project
  3. Check artifacts folder - Imports.ps1 remains.