File tree Expand file tree Collapse file tree 4 files changed +20
-7
lines changed
module/PowerShellEditorServices Expand file tree Collapse file tree 4 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Author = 'Microsoft'
24
24
CompanyName = ' Microsoft'
25
25
26
26
# Copyright statement for this module
27
- Copyright = ' (c) 2016 Microsoft. All rights reserved.'
27
+ Copyright = ' (c) 2017 Microsoft. All rights reserved.'
28
28
29
29
# Description of the functionality provided by this module
30
30
Description = ' Provides internal commands for PowerShell Editor Services that only work in an editor session.'
@@ -105,10 +105,10 @@ PrivateData = @{
105
105
# Tags = @()
106
106
107
107
# A URL to the license for this module.
108
- # LicenseUri = ''
108
+ LicenseUri = ' https://github.com/PowerShell/PowerShellEditorServices/blob/master/LICENSE '
109
109
110
110
# A URL to the main website for this project.
111
- # ProjectUri = ''
111
+ ProjectUri = ' https://github.com/PowerShell/PowerShellEditorServices '
112
112
113
113
# A URL to an icon representing this module.
114
114
# IconUri = ''
@@ -127,4 +127,3 @@ PrivateData = @{
127
127
# DefaultCommandPrefix = ''
128
128
129
129
}
130
-
Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright (c) Microsoft. All rights reserved.
3
+ # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4
+ #
5
+
1
6
Import-LocalizedData - BindingVariable Strings - FileName Strings - ErrorAction Ignore
2
7
3
8
Get-ChildItem - Path $PSScriptRoot \Public\* .ps1 | ForEach-Object {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Author = 'Microsoft'
24
24
CompanyName = ' Microsoft'
25
25
26
26
# Copyright statement for this module
27
- Copyright = ' (c) 2016 Microsoft. All rights reserved.'
27
+ Copyright = ' (c) 2017 Microsoft. All rights reserved.'
28
28
29
29
# Description of the functionality provided by this module
30
30
# Description = ''
@@ -95,10 +95,10 @@ PrivateData = @{
95
95
# Tags = @()
96
96
97
97
# A URL to the license for this module.
98
- # LicenseUri = ''
98
+ LicenseUri = ' https://github.com/PowerShell/PowerShellEditorServices/blob/master/LICENSE '
99
99
100
100
# A URL to the main website for this project.
101
- # ProjectUri = ''
101
+ ProjectUri = ' https://github.com/PowerShell/PowerShellEditorServices '
102
102
103
103
# A URL to an icon representing this module.
104
104
# IconUri = ''
Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright (c) Microsoft. All rights reserved.
3
+ # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4
+ #
5
+
1
6
if (! $PSVersionTable.PSEdition -or $PSVersionTable.PSEdition -eq " Desktop" ) {
2
7
Add-Type - Path " $PSScriptRoot /bin/Desktop/Microsoft.PowerShell.EditorServices.dll"
3
8
Add-Type - Path " $PSScriptRoot /bin/Desktop/Microsoft.PowerShell.EditorServices.Host.dll"
@@ -52,6 +57,9 @@ function Start-EditorServicesHost {
52
57
[switch ]
53
58
$DebugServiceOnly ,
54
59
60
+ [string []]
61
+ $AdditionalModules = @ (),
62
+
55
63
[string []]
56
64
[ValidateNotNull ()]
57
65
$FeatureFlags = @ (),
@@ -69,6 +77,7 @@ function Start-EditorServicesHost {
69
77
$BundledModulesPath ,
70
78
$EnableConsoleRepl.IsPresent ,
71
79
$WaitForDebugger.IsPresent ,
80
+ $AdditionalModules ,
72
81
$FeatureFlags )
73
82
74
83
# Build the profile paths using the root paths of the current $profile variable
You can’t perform that action at this time.
0 commit comments