internal/scripts/PostImport.ps1

<#
Add all things you want to run after importing the main function code

WARNING: ONLY provide paths to files!

After building the module, this file will be completely ignored, adding anything but paths to files ...
- Will not work after publishing
- Could break the build process
#>


$moduleRoot = Split-Path (Split-Path $PSScriptRoot)

# Load Validations
"$moduleRoot\internal\scripts\Validations.ps1"

# Load Configurations
(Get-ChildItem "$moduleRoot\internal\configurations\*.ps1" -ErrorAction Ignore).FullName

# Load Scriptblocks
(Get-ChildItem "$moduleRoot\internal\scriptblocks\*.ps1" -ErrorAction Ignore).FullName

# Load Tab Expansion
(Get-ChildItem "$moduleRoot\internal\tepp\*.tepp.ps1" -ErrorAction Ignore).FullName

# Load Tab Expansion Assignment
"$moduleRoot\internal\tepp\Assignment.ps1"

# Load the module-wide variables
"$moduleRoot\internal\scripts\Variables.ps1"

# Run startup script
"$moduleRoot\internal\scripts\Initialize.ps1"

# Load License
"$moduleRoot\internal\scripts\License.ps1"