Skip to content

Commit 755a7a9

Browse files
committed
Merge pull request #3 from PowerShell/daviwil/nuget-packaging
Enable NuGet packaging for all shipped binaries
2 parents 4b9d4a4 + 7d51874 commit 755a7a9

File tree

8 files changed

+107
-24
lines changed

8 files changed

+107
-24
lines changed

appveyor.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 0.1.0.{build}
2+
os: Unstable
3+
configuration: Release
4+
clone_depth: 10
5+
6+
branches:
7+
only:
8+
- master
9+
10+
assembly_info:
11+
patch: true
12+
file: '**\AssemblyInfo.*'
13+
assembly_version: '0.1.0' # This version number should always have 0 for the last section
14+
assembly_file_version: '{version}'
15+
assembly_informational_version: '{version}'
16+
17+
install:
18+
- git submodule -q update --init
19+
20+
before_build:
21+
- nuget restore
22+
23+
build:
24+
project: PowerShellEditorServices.sln
25+
publish_nuget: true
26+
verbosity: minimal
27+
28+
test:
29+
assemblies:
30+
- Microsoft.PowerShell.EditorServices.Test.dll
31+
- Microsoft.PowerShell.EditorServices.Test.Host.dll
32+
- Microsoft.PowerShell.EditorServices.Test.Transport.Stdio.dll
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0"?>
2+
<package>
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>Windows PowerShell Editor Services - Host Process</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/master/LICENSE</licenseUrl>
10+
<projectUrl>http://github.com/PowerShell/PowerShellEditorServices</projectUrl>
11+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12+
<description>$description$</description>
13+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
14+
<tags>Microsoft Windows PowerShell editor</tags>
15+
</metadata>
16+
</package>

src/PowerShellEditorServices.Host/Properties/AssemblyInfo.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("PowerShellEditorServices.Host")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle("Windows PowerShell Editor Services - Host Process")]
9+
[assembly: AssemblyDescription("Provides a process for hosting the Windows PowerShell Editor Services library exposed by a corresponding transport library.")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("PowerShellEditorServices.Host")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
11+
[assembly: AssemblyCompany("Microsoft")]
12+
[assembly: AssemblyProduct("Windows PowerShell Editor Services")]
13+
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("0.0.0.0")]
36+
[assembly: AssemblyFileVersion("0.0.0.0")]
37+
[assembly: AssemblyInformationalVersion("0.0.0.0")]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0"?>
2+
<package>
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>Windows PowerShell Editor Services - Standard I/O Transport</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/master/LICENSE</licenseUrl>
10+
<projectUrl>http://github.com/PowerShell/PowerShellEditorServices</projectUrl>
11+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12+
<description>$description$</description>
13+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
14+
<tags>Microsoft Windows PowerShell editor</tags>
15+
</metadata>
16+
</package>

src/PowerShellEditorServices.Transport.Stdio/Properties/AssemblyInfo.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("PowerShellEditorServices.Transport.Stdio")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle("Windows PowerShell Editor Services - Standard I/O Transport")]
9+
[assembly: AssemblyDescription("Provides standard I/O transport for the Windows PowerShell Editor Services host process.")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("PowerShellEditorServices.Transport.Stdio")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
11+
[assembly: AssemblyCompany("Microsoft")]
12+
[assembly: AssemblyProduct("Windows PowerShell Editor Services")]
13+
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("0.0.0.0")]
36+
[assembly: AssemblyFileVersion("0.0.0.0")]
37+
[assembly: AssemblyInformationalVersion("0.0.0.0")]

src/PowerShellEditorServices/PowerShellEditorServices.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
</PropertyGroup>
3737
<ItemGroup>
3838
<Reference Include="Nito.AsyncEx, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
39-
<HintPath>..\packages\Nito.AsyncEx.3.0.0\lib\net45\Nito.AsyncEx.dll</HintPath>
39+
<HintPath>..\..\packages\Nito.AsyncEx.3.0.0\lib\net45\Nito.AsyncEx.dll</HintPath>
4040
<Private>True</Private>
4141
</Reference>
4242
<Reference Include="Nito.AsyncEx.Concurrent, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
43-
<HintPath>..\packages\Nito.AsyncEx.3.0.0\lib\net45\Nito.AsyncEx.Concurrent.dll</HintPath>
43+
<HintPath>..\..\packages\Nito.AsyncEx.3.0.0\lib\net45\Nito.AsyncEx.Concurrent.dll</HintPath>
4444
<Private>True</Private>
4545
</Reference>
4646
<Reference Include="Nito.AsyncEx.Enlightenment, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
47-
<HintPath>..\packages\Nito.AsyncEx.3.0.0\lib\net45\Nito.AsyncEx.Enlightenment.dll</HintPath>
47+
<HintPath>..\..\packages\Nito.AsyncEx.3.0.0\lib\net45\Nito.AsyncEx.Enlightenment.dll</HintPath>
4848
<Private>True</Private>
4949
</Reference>
5050
<Reference Include="System" />
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0"?>
2+
<package>
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>Windows PowerShell Editor Services Library</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/master/LICENSE</licenseUrl>
10+
<projectUrl>http://github.com/PowerShell/PowerShellEditorServices</projectUrl>
11+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12+
<description>$description$</description>
13+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
14+
<tags>Microsoft Windows PowerShell editor</tags>
15+
</metadata>
16+
</package>

src/PowerShellEditorServices/Properties/AssemblyInfo.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("Core")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle("Windows PowerShell Editor Services Library")]
9+
[assembly: AssemblyDescription("Provides common PowerShell editor capabilities as a .NET library.")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("Core")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
11+
[assembly: AssemblyCompany("Microsoft")]
12+
[assembly: AssemblyProduct("Windows PowerShell Editor Services")]
13+
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,7 +32,8 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("0.0.0.0")]
36+
[assembly: AssemblyFileVersion("0.0.0.0")]
37+
[assembly: AssemblyInformationalVersion("0.0.0.0")]
3738

3839
[assembly: InternalsVisibleTo("Microsoft.PowerShell.EditorServices.Test.Shared")]

0 commit comments

Comments
 (0)