summaryrefslogtreecommitdiff
path: root/build.proj
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /build.proj
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'build.proj')
-rw-r--r--build.proj35
1 files changed, 35 insertions, 0 deletions
diff --git a/build.proj b/build.proj
new file mode 100644
index 0000000000..c8d7a5d76b
--- /dev/null
+++ b/build.proj
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="dir.props" />
+
+ <ItemGroup>
+ <!-- We use build.proj instead of dirs.proj so we don't conflict with the TFS build-->
+ <Project Include="src\build.proj" />
+ </ItemGroup>
+
+ <Import Project="dir.targets" />
+
+ <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)SOS.NETCore.*" />
+ <Delete Files="$(BinDir)mscorlib.*" />
+ <Delete Files="$(BinDir)System.Private.CoreLib.*" />
+ </Target>
+
+ <Target Name="RestoreOptData">
+ <Exec Command="$(DnuRestoreCommand) &quot;$(SourceDir).nuget/optdata/project.json&quot; --source https://dotnet.myget.org/F/dotnet-core-optimization-data/api/v3/index.json" />
+ </Target>
+
+ <Target Name="RestoreNETCorePlatforms" AfterTargets="Build" Condition="'$(RestoreDuringBuild)'=='true'">
+ <Exec Command="$(DnuRestoreCommand) &quot;$(SourceDir).nuget/init/project.json&quot; --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
+ </Target>
+
+</Project>