Skip to content

Commit 80ad50f

Browse files
committed
Format FunctionsToExport in psd1 files
1 parent ad7e67b commit 80ad50f

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed

extension/BuildPhpExtension/BuildPhpExtension.psd1

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,42 @@
6060
# NestedModules = @()
6161

6262
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
63-
FunctionsToExport = 'Invoke-PhpBuildExtension', 'Add-BuildRequirements', 'Add-Path', 'Get-PhpSdk', 'Add-Dependencies', 'Add-PhpDependencies', 'Get-VsVersion', 'Add-Extension', 'Get-Extension', 'Get-BuildDirectory', 'Get-ExtensionSource', 'Add-ExtensionDependencies', 'Add-BuildTools', 'Add-OciSdk', 'Add-OdbcCli', 'Get-ExtensionConfig', 'Add-Extensions', 'Get-PhpBuild', 'Get-PhpBuildDetails', 'Invoke-Build', 'Invoke-Tests', 'Add-Package', 'Get-PhpDevelBuild', 'Get-OlderVsVersion', 'Get-PeclLibraryZip', 'Add-BuildLog', 'Add-StepLog', 'Set-GAGroup', 'Invoke-CleanupTempFiles', 'Get-TempFiles'
63+
FunctionsToExport = @(
64+
# Private functions
65+
'Add-Boost',
66+
'Add-BuildLog',
67+
'Add-BuildRequirements',
68+
'Add-BuildTools',
69+
'Add-Dependencies',
70+
'Add-Extension',
71+
'Add-ExtensionDependencies',
72+
'Add-Extensions',
73+
'Add-OciSdk',
74+
'Add-OdbcCli',
75+
'Add-Package',
76+
'Add-Path',
77+
'Add-PhpDependencies',
78+
'Add-StepLog',
79+
'Get-BuildDirectory',
80+
'Get-Extension',
81+
'Get-ExtensionConfig',
82+
'Get-ExtensionSource',
83+
'Get-OlderVsVersion',
84+
'Get-PeclLibraryZip',
85+
'Get-PhpBuild',
86+
'Get-PhpBuildDetails',
87+
'Get-PhpDevelBuild',
88+
'Get-PhpSdk',
89+
'Get-TempFiles',
90+
'Get-VsVersion',
91+
'Invoke-Build',
92+
'Invoke-CleanupTempFiles',
93+
'Invoke-Tests',
94+
'Set-GAGroup',
95+
96+
# Public functions
97+
'Invoke-PhpBuildExtension'
98+
)
6499

65100
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
66101
CmdletsToExport = '*'

php/BuildPhp/BuildPhp.psd1

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,24 @@
6060
# NestedModules = @()
6161

6262
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
63-
FunctionsToExport = 'Invoke-PhpBuild', 'Invoke-PhpTests', 'Add-BuildRequirements', 'Get-PhpBuild', 'Get-PhpTestPack', 'Get-VsVersion', 'Add-TestRequirements', 'Get-PhpSdk', 'Get-TestSettings', 'Set-PhpIniForTests', 'Get-OciSdk', 'Get-PhpSrc', 'Get-TestsList'
63+
FunctionsToExport = @(
64+
# Private functions
65+
'Add-BuildRequirements',
66+
'Add-TestRequirements',
67+
'Get-OciSdk',
68+
'Get-PhpBuild',
69+
'Get-PhpSdk',
70+
'Get-PhpSrc',
71+
'Get-PhpTestPack',
72+
'Get-TestSettings',
73+
'Get-TestsList'
74+
'Get-VsVersion',
75+
'Set-PhpIniForTests'
76+
77+
# Public functions
78+
'Invoke-PhpBuild',
79+
'Invoke-PhpTests'
80+
)
6481

6582
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
6683
CmdletsToExport = '*'

0 commit comments

Comments
 (0)