diff options
author | Mariana Rios Flores <mariari@microsoft.com> | 2016-03-18 00:40:22 +0300 |
---|---|---|
committer | Mariana Rios Flores <mariari@microsoft.com> | 2016-03-23 20:40:34 +0300 |
commit | 59844e6bf00b6df5b95e795630619140ce149bb6 (patch) | |
tree | 9b8d39d14970ee0ffc75ac4c3919f2d3a61072f4 /build.proj | |
parent | bca36754f28adc603a3ea9f97506c333a5dd4551 (diff) |
Build packages step
Diffstat (limited to 'build.proj')
-rw-r--r-- | build.proj | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/build.proj b/build.proj index a050ac082a..e277e701a3 100644 --- a/build.proj +++ b/build.proj @@ -11,6 +11,14 @@ <SerializeProjects>true</SerializeProjects> </PropertyGroup> + <!-- The following properties are in place to keep the behavior of build.cmd while we work on the dev workflow steps. --> + <PropertyGroup> + <!-- To disable the restoration of packages, set RestoreDuringBuild=false or pass /p:RestoreDuringBuild=false.--> + <RestoreDuringBuild Condition="'$(RestoreDuringBuild)'==''">true</RestoreDuringBuild> + <!-- To disable building packages, set BuildPackages=false or pass /p:BuildPackages=false.--> + <BuildPackages Condition="'$(BuildPackages)'==''">true</BuildPackages> + </PropertyGroup> + <ItemGroup> <Project Include="src\dirs.proj"> <!-- For the root traversal default filter the OSGroup to the OSEnvironment which is the OS we are running on --> @@ -18,12 +26,7 @@ </Project> <!-- signing must happen before packaging --> <Project Include="src\sign.builds" /> - <Project Include="src\packages.builds"> - <!-- When we do a traversal build we build all libraries prior to building packages --> - <AdditionalProperties>BuildPackageLibraryReferences=false</AdditionalProperties> - <!-- For the root traversal default filter the OSGroup to the OSEnvironment which is the OS we are running on --> - <FilterToOSGroup Condition="'$(_OriginalOSGroup)' == ''">$(OSEnvironment)</FilterToOSGroup> - </Project> + <Project Include="src\packages.builds" Condition="'$(BuildPackages)'=='true'"/> <Project Include="src\post.builds"> <!-- For the root traversal default filter the OSGroup to the OSEnvironment which is the OS we are running on --> <FilterToOSGroup Condition="'$(_OriginalOSGroup)' == ''">$(OSEnvironment)</FilterToOSGroup> @@ -36,14 +39,6 @@ <Import Project="$(ToolsDir)clean.targets" /> - <PropertyGroup> - <!-- - Until we have the full clean\sync\build dev workflow in place we still default to restoring during build. - For those that wish to opt-out they can set RestoreDuringBuild=false or pass /p:RestoreDuringBuild=false. - --> - <RestoreDuringBuild Condition="'$(RestoreDuringBuild)'==''">true</RestoreDuringBuild> - </PropertyGroup> - <PropertyGroup Condition="'$(RestoreDuringBuild)'=='true'"> <TraversalBuildDependsOn> ValidateAllProjectDependencies; |