Provide a way for easier development and module building #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I saw your module and saw that it has potential, but I also notice that you mostly build it inside 2 files. While from performance perspective this is great, from development and management not so great. With per file code doing PR is much easier for both you and perspective user.
I would like to introduce you to my PowerShell module builder that I used on my own modules:
The module is called PSPublishModule and I actively maintain it fixing bugs, adding new features as I go.
Since I maintain about 60 different modules, and do a lot of releases it's quite painful to do it sort of manually.
This module builder helps to simplify process and checks:
Your project now consists of few folders
When you run it goes thru a process of creating single PSM1 and updating PSD1 with proper data.
It goes thru long process but this is what it does in short:
New-ConfigurationPublish
Artefacts
folder for youNew-ConfigurationArftefact
Finaly it can also sign your module or create docs if you have proper configuration.
I did similar PR for another project:
It was accepted and it includes some useful information as well.
Feel free to accept or deny. If you have any questions or need some help with it, let me know.
For the build-module.ps1 to work you need to do