gaelcolas / gaelcolas/SampleModule

Merge Module Specs

Open
#7 11 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
PowerShell
Stars
43
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The question is broadly:
- What and How to merge into single PSM1?

I can see the following challenges:
- Some Folder structures may be different
- Some people may add things to their psm1 stub
- Using statements needs to be gathered/unique'd and inserted at top of psm1
- Requires should be added in module manifest (except Admin)
- Classes should be imported in a certain order (where to define it?)
- Classes should be imported before functions
- Extra data should be merge-able (say if you provide a scriptblock? Thinking out loud)
- should the non-merged files be copied? and everything merged deleted, empty dir deleted as well?

Am I missing anything?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.