Skip to content

Commit

Permalink
Moving all projects under their own folder under src and the tests un…
Browse files Browse the repository at this point in the history
…der their own test project under tests.

Updating project.json to reflect the new folder structure. Also, incremental building is not working, so I had to turn off parallel building in MSBuild. Lastly, I removed dotnet pack for the test projects so that they are not published to the myget feed.

Adding a corefxlab.sln file and removing the individual solutions under the individual projects.
  • Loading branch information
livarcocc committed Feb 12, 2016
1 parent 645673c commit 58b57d1
Show file tree
Hide file tree
Showing 418 changed files with 392 additions and 693 deletions.
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ call :build %*
goto :AfterBuild

:build
%_buildprefix% msbuild "%_buildproj%" /nologo /maxcpucount /verbosity:minimal /nodeReuse:false /fileloggerparameters:Verbosity=normal;LogFile="%_buildlog%";Append %* %_buildpostfix%
%_buildprefix% msbuild "%_buildproj%" /nologo /verbosity:minimal /nodeReuse:false /fileloggerparameters:Verbosity=normal;LogFile="%_buildlog%";Append %* %_buildpostfix%
set BUILDERRORLEVEL=%ERRORLEVEL%
goto :eof

Expand Down
1 change: 1 addition & 0 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<ItemGroup>
<Project Include="src\dirs.proj" />
<Project Include="tests\dirs.proj" />
</ItemGroup>

<Import Project="dir.targets" />
Expand Down
246 changes: 246 additions & 0 deletions corefxlab.sln

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions dotnet-test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<TestCommandLine>(set DOTNET_HOME=$(DotnetPath)) &amp; $(DotnetExe) test &quot;$(ProjectJson)&quot; {XunitTraitOptions}</TestCommandLine>
</PropertyGroup>

<Target Name="Build">
<!-- This was the only place I could find where this was guaranteed to be executed. The other targets I tried work in some cases (build.cmd) but not others (msbuild). I went with this simple approach for now. -->
<Exec Command="$(DotnetExe) restore &quot;$(ProjectJson)&quot;" StandardOutputImportance="Low" CustomErrorRegularExpression="^Unable to locate .*" />
<Exec Command="$(DotnetExe) build &quot;$(ProjectJson)&quot;" />
</Target>

<Target Name="RunTestsForProject"
DependsOnTargets="DiscoverTestInputs"
AfterTargets="CheckTestCategories"
Expand Down Expand Up @@ -37,8 +43,6 @@
BeforeTargets="RunTestsForProject">
<Message Text="Running CopyTestToTestDirectory: $(TestPath)%(TestTargetFramework.Folder)" Importance="High" />

<MakeDir Directories="$(TestPath)%(TestTargetFramework.Folder)" />

<Exec Command="$(DotnetExe) build &quot;$(ProjectJson)&quot;" />
<MakeDir Directories="$(TestPath)%(TestTargetFramework.Folder)" />
</Target>
</Project>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<Target Name="Build">
<!-- This was the only place I could find where this was guaranteed to be executed. The other targets I tried work in some cases (build.cmd) but not others (msbuild). I went with this simple approach for now. -->
<Exec Command="$(DotnetExe) restore &quot;$(ProjectJson)&quot;" StandardOutputImportance="Low" CustomErrorRegularExpression="^Unable to locate .*" />
<Exec Command="$(DotnetExe) pack &quot;$(ProjectJson)&quot; -o &quot;$(ProjectDir)nuget&quot; -c Release --version-suffix $([System.DateTime]::Now.ToString(&quot;eyyMMdd-1&quot;)) -t &quot;$(OutputPath)temp&quot;" />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"requireLicenseAcceptance": true,
"compilationOptions": {
"allowUnsafe": true,
"keyFile": "../../../tools/Key.snk"
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"System.Diagnostics.Debug": "4.0.0",
Expand Down
28 changes: 0 additions & 28 deletions src/System.Buffers/System.Buffers.sln

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"Properties.Resources": "Properties/Resources.resx"
},
"compilationOptions": {
"keyFile": "../../../tools/Key.snk"
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"System.Collections": "4.0.0",
Expand Down
28 changes: 0 additions & 28 deletions src/System.CommandLine/System.CommandLine.sln

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"projectUrl": "https://github.com/dotnet/corefxlab",
"requireLicenseAcceptance": true,
"compilationOptions": {
"keyFile": "../../../tools/Key.snk"
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"System.Collections": "4.0.10-*",
Expand Down
50 changes: 0 additions & 50 deletions src/System.Drawing.Graphics/System.Drawing.Graphics.sln

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"requireLicenseAcceptance": true,
"compilationOptions": {
"allowUnsafe": true,
"keyFile": "../../../tools/Key.snk"
},
"keyFile": "../../tools/Key.snk"
},
"compileExclude": [ "**/*.OSX.cs", "**/*.Linux.cs"],
"namedResource": {
"Resources.Strings": "Resources/Strings.resx"
"Resources.Strings": "Properties/Strings.resx"
},
"dependencies": {
"System.Diagnostics.Debug": "4.0.10-*",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed src/System.Drawing.Graphics/tests/libgd.dll
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"compilationOptions": {
"allowUnsafe": true,
"keyFile": "../../../tools/Key.snk"
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"System.Collections": "4.0.0",
Expand Down
28 changes: 0 additions & 28 deletions src/System.Net.Libuv/System.Net.Libuv.sln

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
Expand All @@ -7,13 +7,12 @@
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>C5FD8740-19EA-4BCC-B518-7F16B55D23CA</ProjectGuid>
<ProjectGuid>2f2109e8-6e5d-4063-8e59-07f0e798adf2</ProjectGuid>
<RootNamespace>System.Net.Libuv</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"requireLicenseAcceptance": true,
"compilationOptions": {
"allowUnsafe": true,
"keyFile": "../../../tools/Key.snk"
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"System.Buffers.Experimental": "0.1.0-*",
Expand Down
Binary file removed src/System.Net.Libuv/src/libuv.dll
Binary file not shown.
Loading

0 comments on commit 58b57d1

Please sign in to comment.