mirror of
https://github.com/php-win-ext/php-windows-builder.git
synced 2026-03-24 09:02:06 +01:00
18 lines
516 B
PowerShell
18 lines
516 B
PowerShell
Set-StrictMode -Version 2.0
|
|
$ErrorActionPreference = 'Stop'
|
|
$PSDefaultParameterValues['*:ErrorAction'] = 'Stop'
|
|
$ConfirmPreference = 'None'
|
|
$WarningPreference = 'Continue'
|
|
$InformationPreference = 'Continue'
|
|
|
|
$scripts =
|
|
@(Get-ChildItem -Path $PSScriptRoot\private\*.ps1 -Depth 1) +
|
|
@(Get-ChildItem -Path $PSScriptRoot\public\*.ps1 -Depth 1)
|
|
|
|
foreach ($script in $scripts) {
|
|
Write-Debug "Including $($script.FullName)"
|
|
Import-Module $script.FullName
|
|
}
|
|
|
|
Export-ModuleMember -Function $scripts.Basename
|