Feature Request: Add script to choco new
templates to remove comments from ps1
and nuspec
files
#2037
Labels
choco new
templates to remove comments from ps1
and nuspec
files
#2037
Currently there is a comment at the top of the
chocolateyinstall.ps1
andchocolateyuninstall.ps1
files:Would it be possible to move this code to a PowerShell script beside the
nuspec
file that runs on all of the ps1 files? This script could also remove all comments from the nuspec file as well.Or, as another option: could this action be done as part of the
choco pack
process? Akin to minifying javascript before deploying to a website.If this is something that would be desired, I have been working on a script in my own repo that I could contribute.
The text was updated successfully, but these errors were encountered: