Skip to content

Commit e61fda5

Browse files
🩹 [Patch]: Load classes into the root module (#34)
## Description - Load classes into the root module. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 3c1a02c commit e61fda5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/helpers/Build/Build-PSModuleManifest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function Build-PSModuleManifest {
9595
$manifest.NestedModules | ForEach-Object { Write-Verbose "[NestedModules] - [$_]" }
9696

9797
Write-Verbose '[ScriptsToProcess]'
98-
$allScriptsToProcess = @('scripts', 'classes') | ForEach-Object {
98+
$allScriptsToProcess = @('scripts') | ForEach-Object {
9999
Write-Verbose "[ScriptsToProcess] - Processing [$_]"
100100
$scriptsFolderPath = Join-Path $ModuleOutputFolder $_
101101
$scriptsToProcess = Get-ChildItem -Path $scriptsFolderPath -Recurse -File -ErrorAction SilentlyContinue -Include '*.ps1' |

scripts/helpers/Build/Build-PSModuleRootModule.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ Write-Verbose "[$scriptName] - [data] - Done"
9696

9797
#region - Add content from subfolders
9898
$scriptFoldersToProcess = @(
99+
'init',
100+
'classes',
99101
'private',
100102
'public'
101103
)

0 commit comments

Comments
 (0)