Skip to content

Commit 8e143f7

Browse files
authored
Merge pull request #18 from jwittner/dev/fixExports
Fix exports
2 parents dd6c24e + 7f820c8 commit 8e143f7

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

UnitySetup/UnitySetup.psd1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,19 @@ ScriptsToProcess = @("UnitySetupInit.ps1")
7373
# NestedModules = @()
7474

7575
# 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.
76-
FunctionsToExport = '*'
77-
76+
FunctionsToExport = @(
77+
'Find-UnitySetupInstaller',
78+
'Get-UnityProjectInstance',
79+
'Get-UnitySetupInstance',
80+
'Install-UnitySetupInstance',
81+
'Select-UnitySetupInstance',
82+
'Start-UnityEditor'
83+
)
7884
# 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.
79-
CmdletsToExport = '*'
85+
CmdletsToExport = @()
8086

8187
# Variables to export from this module
82-
# VariablesToExport = @()
88+
VariablesToExport = @()
8389

8490
# Aliases 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 aliases to export.
8591
AliasesToExport = @()

UnitySetup/UnitySetup.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
3+
Import-Module powershell-yaml -Force -ErrorAction Stop
4+
35
class UnitySetupInstaller
46
{
57
[UnitySetupComponentType] $ComponentType

UnitySetup/UnitySetupInit.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@
1616
WebGL = (1 -shl 13)
1717
Windows_IL2CPP = (1 -shl 14)
1818
All = (-1)
19-
}
20-
21-
Import-Module powershell-yaml -Force -ErrorAction Stop
19+
}

0 commit comments

Comments
 (0)