diff options
author | wtgodbe <wigodbe@microsoft.com> | 2016-04-27 14:35:45 -0700 |
---|---|---|
committer | wtgodbe <wigodbe@microsoft.com> | 2016-05-17 14:06:39 -0700 |
commit | 8568bf1d9722657c602a1f1fe0148e28a93ea8ce (patch) | |
tree | d784a4438e3fe7b74106f1d3e82aa88889024fc4 /build.proj | |
parent | 41a4ad5054cf877db6aa331855b43ad8678a93ad (diff) | |
download | coreclr-8568bf1d9722657c602a1f1fe0148e28a93ea8ce.tar.gz coreclr-8568bf1d9722657c602a1f1fe0148e28a93ea8ce.tar.bz2 coreclr-8568bf1d9722657c602a1f1fe0148e28a93ea8ce.zip |
Add dev workflow scripts for build pipeline
Diffstat (limited to 'build.proj')
-rw-r--r-- | build.proj | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build.proj b/build.proj index 42c5711b39..f3a9d40537 100644 --- a/build.proj +++ b/build.proj @@ -11,13 +11,19 @@ <Import Project="dir.traversal.targets" /> + <!-- 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> + </PropertyGroup> + <!-- Override clean from dir.traversal.targets and just remove the full BinDir --> <Target Name="Clean"> <Delete Files="$(BinDir)mscorlib.*" /> <Delete Files="$(BinDir)System.Private.CoreLib.*" /> </Target> - <Target Name="RestoreNETCorePlatforms" AfterTargets="Build"> + <Target Name="RestoreNETCorePlatforms" AfterTargets="Build" Condition="'$(RestoreDuringBuild)'=='true'"> <Exec Command="$(DnuRestoreCommand) "$(SourceDir).nuget/init/project.json" --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" /> </Target> |