Skip to content

Commit

Permalink
Add System.Waf.Uwp to the pkg bat files
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Mar 23, 2016
1 parent abf65f0 commit 0564af6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
15 changes: 9 additions & 6 deletions pkg/BuildStrongName.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
setlocal
set SolutionDir=%~dp0..\src\System.Waf
set Configuration=Release
set DefineConstants="TRACE;CODE_ANALYSIS;STRONG_NAME"
set KeyOriginatorFile=P:\IdentityKey.snk
set DefineConstants="CODE_ANALYSIS;TRACE;STRONG_NAME"

set BuildParams=/t:Rebuild /p:Configuration=%Configuration% /p:DefineConstants=%DefineConstants% /p:KeyOriginatorFile=%KeyOriginatorFile%
set BuildParams=/t:Rebuild /p:Configuration=%Configuration% /p:KeyOriginatorFile=%KeyOriginatorFile%

call "%VS140COMNTOOLS%\vsvars32.bat"

msbuild.exe %SolutionDir%\System.Waf\System.Waf.Core\System.Waf.Core.csproj %BuildParams%
msbuild.exe %SolutionDir%\System.Waf\System.Waf.UnitTesting.Core\System.Waf.UnitTesting.Core.csproj %BuildParams%
msbuild.exe %SolutionDir%\System.Waf\System.Waf.Wpf\System.Waf.Wpf.csproj %BuildParams%
msbuild.exe %SolutionDir%\System.Waf\System.Waf.UnitTesting.Wpf\System.Waf.UnitTesting.Wpf.csproj %BuildParams%
msbuild.exe %SolutionDir%\System.Waf\System.Waf.Core\System.Waf.Core.csproj %BuildParams% /p:DefineConstants=%DefineConstants%
msbuild.exe %SolutionDir%\System.Waf\System.Waf.UnitTesting.Core\System.Waf.UnitTesting.Core.csproj %BuildParams% /p:DefineConstants=%DefineConstants%

msbuild.exe %SolutionDir%\System.Waf\System.Waf.Wpf\System.Waf.Wpf.csproj %BuildParams% /p:DefineConstants=%DefineConstants%
msbuild.exe %SolutionDir%\System.Waf\System.Waf.UnitTesting.Wpf\System.Waf.UnitTesting.Wpf.csproj %BuildParams% /p:DefineConstants=%DefineConstants%

msbuild.exe %SolutionDir%\System.Waf\System.Waf.Uwp\System.Waf.Uwp.csproj %BuildParams% /p:DefineConstants="CODE_ANALYSIS;STRONG_NAME;NETFX_CORE;WINDOWS_UWP"
4 changes: 3 additions & 1 deletion pkg/NuPack.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ nuget pack ..\src\System.Waf\System.Waf\System.Waf.Core\System.Waf.Core.nuspec %
nuget pack ..\src\System.Waf\System.Waf\System.Waf.UnitTesting.Core\System.Waf.UnitTesting.Core.nuspec %PackParams%

nuget pack ..\src\System.Waf\System.Waf\System.Waf.Wpf\System.Waf.Wpf.csproj %PackParams%
nuget pack ..\src\System.Waf\System.Waf\System.Waf.UnitTesting.Wpf\System.Waf.UnitTesting.Wpf.csproj %PackParams%
nuget pack ..\src\System.Waf\System.Waf\System.Waf.UnitTesting.Wpf\System.Waf.UnitTesting.Wpf.csproj %PackParams%

nuget pack ..\src\System.Waf\System.Waf\System.Waf.Uwp\System.Waf.Uwp.csproj %PackParams%
5 changes: 3 additions & 2 deletions pkg/NuPush.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
setlocal
set PkgDir=%~dp0
set PATH=%PATH%;%PkgDir%
set Version=4.0.0-alpha1
set Version=4.0.0-alpha2

cd %PkgDir%\System.Waf\Release

nuget Push System.Waf.Core.%Version%.nupkg
nuget Push System.Waf.UnitTesting.Core.%Version%.nupkg
nuget Push System.Waf.Wpf.%Version%.nupkg
nuget Push System.Waf.UnitTesting.Wpf.%Version%.nupkg
nuget Push System.Waf.UnitTesting.Wpf.%Version%.nupkg
nuget Push System.Waf.Uwp.%Version%.nupkg

0 comments on commit 0564af6

Please sign in to comment.