-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge individual function scripts into a PowerShell module file #563
Labels
2 - Working
A user or team member has started working on the issue
TaskItem
Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
Comments
pauby
added
the
TaskItem
Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
label
May 13, 2024
I'd propose to use Sampler for this |
Can a simple, few lines of code, appending the functions into a file not be a simpler, and less reliant on external 3rd parties, option? |
Most likely, is there an oss code sample you could point me to as a reference? |
There is some code over in PowerShellBuild that would help. |
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 27, 2024
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 27, 2024
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 27, 2024
10 tasks
mwallner
added
the
2 - Working
A user or team member has started working on the issue
label
Jun 27, 2024
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 28, 2024
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 28, 2024
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 28, 2024
mwallner
added a commit
to mwallner/boxstarter
that referenced
this issue
Jun 28, 2024
flcdrg
pushed a commit
to mwallner/boxstarter
that referenced
this issue
Jun 29, 2024
flcdrg
pushed a commit
to mwallner/boxstarter
that referenced
this issue
Jun 29, 2024
flcdrg
pushed a commit
to mwallner/boxstarter
that referenced
this issue
Jun 29, 2024
flcdrg
pushed a commit
to mwallner/boxstarter
that referenced
this issue
Jun 29, 2024
flcdrg
pushed a commit
to mwallner/boxstarter
that referenced
this issue
Jun 29, 2024
flcdrg
pushed a commit
to mwallner/boxstarter
that referenced
this issue
Jun 29, 2024
flcdrg
added a commit
that referenced
this issue
Jun 30, 2024
(GH-563) Merge PowerShell Scripts into shippable Modules on build
This was referenced Sep 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
2 - Working
A user or team member has started working on the issue
TaskItem
Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
Checklist
Is Your Feature Request Related To A Problem? Please describe.
The PowerShell functions are all in their individual scripts (
.ps1
) and are dot sourced into the PowerShell module file (.psm1
). This is not recommended practice and means the scripts are individually signed.Describe The Solution. Why is it needed?
It is recommended best practice to merge these individual script files into one PowerShell module file at build time, and ship that.
Additional Context
N/A
Related Issues
N/A
The text was updated successfully, but these errors were encountered: