Skip to content

Commit

Permalink
WIP on factoring x64 and x86 out as parameter to *.nuspec files
Browse files Browse the repository at this point in the history
  • Loading branch information
jornh committed Jun 20, 2014
1 parent 5c6d13b commit a58ef26
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
8 changes: 4 additions & 4 deletions NuGet/CefSharp.Common.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>CefSharp.Common</id>
<id>CefSharp.Common$DotPlatform$</id>
<version>$version$</version>
<authors>The CefSharp Authors</authors>
<owners>The CefSharp Authors</owners>
Expand All @@ -12,7 +12,7 @@
<tags>chrome browser</tags>
<copyright>Copyright © 2010-2014 The CefSharp Authors</copyright>
<dependencies>
<dependency id="cef.redist" version="[3.1650.1562-pre3,3.1651)" />
<dependency id="cef.redist$DotPlatform$" version="[3.1650.1562-pre3,3.1651)" />
</dependencies>
</metadata>
<files>
Expand All @@ -24,7 +24,7 @@
<file src="..\CefSharp.BrowserSubprocess\bin\x86\Release\CefSharp.BrowserSubprocess.exe" target="CefSharp\x86"/>
<file src="..\CefSharp.BrowserSubprocess\bin\x64\Release\CefSharp.BrowserSubprocess.exe" target="CefSharp\x64"/>

<file src="CefSharp.Common.props" target="build" />
<file src="CefSharp.Common.targets" target="build" />
<file src="CefSharp.Common.props" target="build\CefSharp.Common$DotPlatform$.props" />
<file src="CefSharp.Common.targets" target="build\CefSharp.Common$DotPlatform$.targets" />
</files>
</package>
6 changes: 3 additions & 3 deletions NuGet/CefSharp.Wpf.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>CefSharp.Wpf</id>
<id>CefSharp.Wpf$DotPlatform$</id>
<version>$version$</version>
<authors>The CefSharp Authors</authors>
<owners>The CefSharp Authors</owners>
Expand All @@ -12,7 +12,7 @@
<tags>wpf chrome browser</tags>
<copyright>Copyright © 2010-2014 The CefSharp Authors</copyright>
<dependencies>
<dependency id="CefSharp.Common" version="[$version$]" />
<dependency id="CefSharp.Common$DotPlatform$" version="[$version$]" />
</dependencies>
</metadata>
<files>
Expand All @@ -21,6 +21,6 @@
<file src="..\CefSharp.Wpf\bin\x86\Release\CefSharp.Wpf.dll" target="CefSharp\x86" />
<file src="..\CefSharp.Wpf\bin\x64\Release\CefSharp.Wpf.dll" target="CefSharp\x64" />

<file src="CefSharp.Wpf.props" target="build" />
<file src="CefSharp.Wpf.props" target="build\CefSharp.Wpf$DotPlatform$.props" />
</files>
</package>
11 changes: 8 additions & 3 deletions NuGet/pack.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
set version=31.0.0-pre1
NuGet pack CefSharp.Common.nuspec -NoPackageAnalysis -Version %version%
NuGet pack CefSharp.Wpf.nuspec -NoPackageAnalysis -Version %version%
set version=31.0.0-pre1a
NuGet pack CefSharp.Common.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=
NuGet pack CefSharp.Common.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=.x86
NuGet pack CefSharp.Common.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=.x64
NuGet pack CefSharp.Wpf.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=
NuGet pack CefSharp.Wpf.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=.x86
NuGet pack CefSharp.Wpf.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=.x64
rem NuGet pack CefSharp.WinForms.nuspec -NoPackageAnalysis -Version %version%
pause

0 comments on commit a58ef26

Please sign in to comment.