Skip to content

Commit f743c7c

Browse files
authored
Merge pull request #6746 from Taritsyn/nuget-platform-specific-package-symbols
NuGet: Add a platform-specific “symbol” packages
2 parents 7c2923f + 811d748 commit f743c7c

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<description>$description$</description>
7+
<releaseNotes>$releaseNotes$</releaseNotes>
8+
<tags>$tags$</tags>
9+
$CommonMetadataElements$
10+
</metadata>
11+
<files>
12+
<file src="Items.$platformArchitecture$.symbols.props" target="build\$id$.props" />
13+
<file src="Install.$platformArchitecture$.symbols.ps1" target="tools\Install.ps1" />
14+
<file src="Uninstall.$platformArchitecture$.symbols.ps1" target="tools\Uninstall.ps1" />
15+
16+
<file src="..\..\VcBuild\bin\$platformArchitecture$_release\ChakraCore.pdb" target="runtimes\$runtimeIdentifier$\native" />
17+
18+
$CommonFileElements$
19+
</files>
20+
</package>

Build/NuGet/package-data.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@
4040
target="Windows.DotNet.Arch\Uninstall.{{{platformArchitecture}}}.ps1" />
4141
</preprocessableFiles>
4242
</package>
43+
<package id="Microsoft.ChakraCore.win-x86.symbols" nuspecFile="Windows.DotNet.Arch\Symbols.nuspec">
44+
<properties>
45+
<platformArchitecture>x86</platformArchitecture>
46+
<runtimeIdentifier>win-x86</runtimeIdentifier>
47+
</properties>
48+
<preprocessableFiles>
49+
<file src="Windows.DotNet.Arch\Items.props.mustache"
50+
target="Windows.DotNet.Arch\Items.{{{platformArchitecture}}}.symbols.props" />
51+
<file src="Windows.DotNet.Arch\Install.ps1.mustache"
52+
target="Windows.DotNet.Arch\Install.{{{platformArchitecture}}}.symbols.ps1" />
53+
<file src="Windows.DotNet.Arch\Uninstall.ps1.mustache"
54+
target="Windows.DotNet.Arch\Uninstall.{{{platformArchitecture}}}.symbols.ps1" />
55+
</preprocessableFiles>
56+
</package>
4357
<package id="Microsoft.ChakraCore.win-x64" nuspecFile="Windows.DotNet.Arch\Primary.nuspec">
4458
<properties>
4559
<platformArchitecture>x64</platformArchitecture>
@@ -54,6 +68,20 @@
5468
target="Windows.DotNet.Arch\Uninstall.{{{platformArchitecture}}}.ps1" />
5569
</preprocessableFiles>
5670
</package>
71+
<package id="Microsoft.ChakraCore.win-x64.symbols" nuspecFile="Windows.DotNet.Arch\Symbols.nuspec">
72+
<properties>
73+
<platformArchitecture>x64</platformArchitecture>
74+
<runtimeIdentifier>win-x64</runtimeIdentifier>
75+
</properties>
76+
<preprocessableFiles>
77+
<file src="Windows.DotNet.Arch\Items.props.mustache"
78+
target="Windows.DotNet.Arch\Items.{{{platformArchitecture}}}.symbols.props" />
79+
<file src="Windows.DotNet.Arch\Install.ps1.mustache"
80+
target="Windows.DotNet.Arch\Install.{{{platformArchitecture}}}.symbols.ps1" />
81+
<file src="Windows.DotNet.Arch\Uninstall.ps1.mustache"
82+
target="Windows.DotNet.Arch\Uninstall.{{{platformArchitecture}}}.symbols.ps1" />
83+
</preprocessableFiles>
84+
</package>
5785
<package id="Microsoft.ChakraCore.win-arm" nuspecFile="Windows.DotNet.Arch\Primary.nuspec">
5886
<properties>
5987
<platformArchitecture>arm</platformArchitecture>
@@ -68,6 +96,20 @@
6896
target="Windows.DotNet.Arch\Uninstall.{{{platformArchitecture}}}.ps1" />
6997
</preprocessableFiles>
7098
</package>
99+
<package id="Microsoft.ChakraCore.win-arm.symbols" nuspecFile="Windows.DotNet.Arch\Symbols.nuspec">
100+
<properties>
101+
<platformArchitecture>arm</platformArchitecture>
102+
<runtimeIdentifier>win-arm</runtimeIdentifier>
103+
</properties>
104+
<preprocessableFiles>
105+
<file src="Windows.DotNet.Arch\Items.props.mustache"
106+
target="Windows.DotNet.Arch\Items.{{{platformArchitecture}}}.symbols.props" />
107+
<file src="Windows.DotNet.Arch\Install.ps1.mustache"
108+
target="Windows.DotNet.Arch\Install.{{{platformArchitecture}}}.symbols.ps1" />
109+
<file src="Windows.DotNet.Arch\Uninstall.ps1.mustache"
110+
target="Windows.DotNet.Arch\Uninstall.{{{platformArchitecture}}}.symbols.ps1" />
111+
</preprocessableFiles>
112+
</package>
71113
<package id="Microsoft.ChakraCore.vc140" nuspecFile="Windows.Cpp.All\Primary.nuspec">
72114
<properties>
73115
<tags>{{{base}}},nativepackage,C++,vc140</tags>

0 commit comments

Comments
 (0)