From 5a4afaf1ec90576487d8ccb91947cdc8801c3964 Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Thu, 3 Nov 2016 15:17:39 -0700 Subject: [PATCH 1/5] Add tuple tests to profile47 fsharp core unit tests --- .../FSharp.Core.Unittests.fsproj | 24 +++++++++--------- .../4.4.0-beta-24631-01/TupleSample.dll | Bin 8192 -> 8192 bytes .../SampleTuples/TupleSample.csproj | 7 ++--- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj b/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj index 2bc2c853b1c..89b54953498 100644 --- a/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj +++ b/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj @@ -15,7 +15,6 @@ Exe Library FSharp.Core.Unittests - v3.5 false false @@ -60,12 +59,13 @@ {DED3BBD7-53F4-428A-8C9F-27968E768605} FSharp.Core - + ..\..\..\packages\System.ValueTuple.4.0.0-rc3-24212-01\lib\netstandard1.1\System.ValueTuple.dll - ..\..\..\packages\System.ValueTuple.4.4.0-beta-24631-01\lib\netstandard1.0\System.ValueTuple.dll + ..\..\..\packages\System.ValueTuple.4.4.0-beta-24631-01\lib\netstandard1.0\System.ValueTuple.dll + ..\..\..\packages\System.ValueTuple.4.4.0-beta-24631-01\lib\portable-net40+sl4+win8+wp8\System.ValueTuple.dll True - + FSharp.Core\SampleTuples\4.0.0-rc3-24212-01\TupleSample.dll FSharp.Core\SampleTuples\4.4.0-beta-24631-01\TupleSample.dll True @@ -94,20 +94,20 @@ - + - + - + @@ -115,13 +115,13 @@ - - + + - - + + @@ -139,7 +139,7 @@ - + diff --git a/src/fsharp/FSharp.Core.Unittests/FSharp.Core/SampleTuples/4.4.0-beta-24631-01/TupleSample.dll b/src/fsharp/FSharp.Core.Unittests/FSharp.Core/SampleTuples/4.4.0-beta-24631-01/TupleSample.dll index f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sb}%+gkmjO{P={TbT{cbNj;iI>*~`v2v% zEe;G$8fn|}P;GnV`Rz?7rrB;M-r`4kV&VUa$;a{kEoSd#N6x^U7dvzPsmo7HD8TJ0 z&N{K_SF>C=Fjc*(*Q!u5v);cRqRykQtW0X@i}tlaN$kznO_yvGk+{vz#LP2!!6ez zyH5uO_!*J!-SM%3M%7Z<_!`xS(s{GQ^No4QQ&SY#-J6c@sBPJqOec0&4?XRo6j*KD zwFXa>hc2J%|9vd^-fk;g+DvQ_2OXC16ONS1rfUxpZ3VwJo; JM%jh={{XqRCUXD) diff --git a/src/fsharp/FSharp.Core.Unittests/FSharp.Core/SampleTuples/TupleSample.csproj b/src/fsharp/FSharp.Core.Unittests/FSharp.Core/SampleTuples/TupleSample.csproj index 29b42c8a75c..386f4d407e3 100644 --- a/src/fsharp/FSharp.Core.Unittests/FSharp.Core/SampleTuples/TupleSample.csproj +++ b/src/fsharp/FSharp.Core.Unittests/FSharp.Core/SampleTuples/TupleSample.csproj @@ -10,9 +10,10 @@ TupleSample TupleSample en-US - Profile7 - v4.5 + Profile47 + v4.0 512 + {224C7102-CD32-4B92-AEA7-9147F8E70E44} pdbonly @@ -24,7 +25,7 @@ - ..\..\..\..\..\packages\System.ValueTuple.4.0.0-rc3-24212-01\lib\netstandard1.1\System.ValueTuple.dll + ..\..\..\..\..\packages\System.ValueTuple.4.4.0-beta-24631-01\lib\portable-net40+sl4+win8+wp8\System.ValueTuple.dll From e8da0303d7295faa6ed1bd9ac086087f32277042 Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Thu, 3 Nov 2016 16:33:34 -0700 Subject: [PATCH 2/5] remove duplicated line --- src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj b/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj index c411226a80c..21725b08865 100644 --- a/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj +++ b/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj @@ -95,7 +95,6 @@ - From bf80d4e41c376c6672f0312f8fe9e5f2325ee77d Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Fri, 4 Nov 2016 00:14:04 -0700 Subject: [PATCH 3/5] Use publish to deploy lkg --- build.cmd | 9 ++++----- lkg/fsc/project.json | 31 +++++++++++++++++++++++++++++++ lkg/fsi/project.json | 31 +++++++++++++++++++++++++++++++ lkg/project.json | 20 -------------------- 4 files changed, 66 insertions(+), 25 deletions(-) create mode 100644 lkg/fsc/project.json create mode 100644 lkg/fsi/project.json delete mode 100644 lkg/project.json diff --git a/build.cmd b/build.cmd index ba25d18b578..ec6fa253803 100644 --- a/build.cmd +++ b/build.cmd @@ -479,11 +479,10 @@ rem Build Proto if '%BUILD_PROTO%' == '1' ( if '%BUILD_PROTO_WITH_CORECLR_LKG%' == '1' ( - pushd .\lkg & %_dotnetexe% restore &popd - @if ERRORLEVEL 1 echo Error: dotnet restore failed && goto :failure - - pushd .\lkg & %_dotnetexe% publish project.json -o %~dp0\Tools\lkg -r win7-x64 &popd - @if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure + pushd .\lkg\fsc & %_dotnetexe% restore & popd & @if ERRORLEVEL 1 echo Error: dotnet restore failed && goto :failure + pushd .\lkg\fsi & %_dotnetexe% restore & popd & @if ERRORLEVEL 1 echo Error: dotnet restore failed && goto :failure + pushd .\lkg\fsc & %_dotnetexe% publish project.json -o %~dp0\Tools\lkg -r win7-x64 &popd & @if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure + pushd .\lkg\fsi & %_dotnetexe% publish project.json -o %~dp0\Tools\lkg -r win7-x64 &popd & @if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj diff --git a/lkg/fsc/project.json b/lkg/fsc/project.json new file mode 100644 index 00000000000..ab155d1ac06 --- /dev/null +++ b/lkg/fsc/project.json @@ -0,0 +1,31 @@ +{ + "version": "1.0.0-*", + "name": "fsc", + "buildOptions": { + "debugType": "portable", + "emitEntryPoint": true + }, + "dependencies": { + "Microsoft.FSharp.Compiler.netcore": "1.0.0-alpha-161102", + }, + "runtimes": { + "win7-x86": { }, + "win7-x64": { }, + "osx.10.10-x64": { }, + "ubuntu.14.04-x64": { } + }, + "frameworks": { + "netcoreapp1.0": { + "dependencies": { + "Microsoft.NETCore.App": { + "type": "platform", + "version": "1.0.1" + } + }, + "imports": "dnxcore50" + } + }, + "scripts": { + "postpublish": [ "cmd /c copy %publish:OutputPath%\\runtimes\\any\\native\\* %publish:OutputPath%" ] + } +} \ No newline at end of file diff --git a/lkg/fsi/project.json b/lkg/fsi/project.json new file mode 100644 index 00000000000..0dd87c337f2 --- /dev/null +++ b/lkg/fsi/project.json @@ -0,0 +1,31 @@ +{ + "version": "1.0.0-*", + "name": "fsi", + "buildOptions": { + "debugType": "portable", + "emitEntryPoint": true + }, + "dependencies": { + "Microsoft.FSharp.Compiler.netcore": "1.0.0-alpha-161102", + }, + "runtimes": { + "win7-x86": { }, + "win7-x64": { }, + "osx.10.10-x64": { }, + "ubuntu.14.04-x64": { } + }, + "frameworks": { + "netcoreapp1.0": { + "dependencies": { + "Microsoft.NETCore.App": { + "type": "platform", + "version": "1.0.1" + } + }, + "imports": "dnxcore50" + } + }, + "scripts": { + "postpublish": [ "cmd /c copy %publish:OutputPath%\\runtime\\any\\native\\* %publish:OutputPath%" ] + } +} \ No newline at end of file diff --git a/lkg/project.json b/lkg/project.json deleted file mode 100644 index 3a197eed86e..00000000000 --- a/lkg/project.json +++ /dev/null @@ -1,20 +0,0 @@ - -{ - "dependencies": { - "Microsoft.FSharp.Compiler.Host.netcore": "1.0.0-alpha-161102", - "Microsoft.NETCore.Runtime.CoreCLR": "1.0.2", - "Microsoft.NETCore.DotNetHostPolicy": "1.0.1", - "Microsoft.NETCore.DotNetHost": "1.0.1" - }, - "runtimes": { - "win7-x86": { }, - "win7-x64": { }, - "osx.10.10-x64": { }, - "ubuntu.14.04-x64": { } - }, - "frameworks": { - "netstandard1.6": { - "imports": "portable-net45+win8" - } - } -} \ No newline at end of file From d69fd0391e65a6fb35587dea5e6b88b72a3d1c8f Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Fri, 4 Nov 2016 00:15:49 -0700 Subject: [PATCH 4/5] Revert "Use publish to deploy lkg" This reverts commit bf80d4e41c376c6672f0312f8fe9e5f2325ee77d. --- build.cmd | 9 +++++---- lkg/fsc/project.json | 31 ------------------------------- lkg/fsi/project.json | 31 ------------------------------- lkg/project.json | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 66 deletions(-) delete mode 100644 lkg/fsc/project.json delete mode 100644 lkg/fsi/project.json create mode 100644 lkg/project.json diff --git a/build.cmd b/build.cmd index ec6fa253803..ba25d18b578 100644 --- a/build.cmd +++ b/build.cmd @@ -479,10 +479,11 @@ rem Build Proto if '%BUILD_PROTO%' == '1' ( if '%BUILD_PROTO_WITH_CORECLR_LKG%' == '1' ( - pushd .\lkg\fsc & %_dotnetexe% restore & popd & @if ERRORLEVEL 1 echo Error: dotnet restore failed && goto :failure - pushd .\lkg\fsi & %_dotnetexe% restore & popd & @if ERRORLEVEL 1 echo Error: dotnet restore failed && goto :failure - pushd .\lkg\fsc & %_dotnetexe% publish project.json -o %~dp0\Tools\lkg -r win7-x64 &popd & @if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure - pushd .\lkg\fsi & %_dotnetexe% publish project.json -o %~dp0\Tools\lkg -r win7-x64 &popd & @if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure + pushd .\lkg & %_dotnetexe% restore &popd + @if ERRORLEVEL 1 echo Error: dotnet restore failed && goto :failure + + pushd .\lkg & %_dotnetexe% publish project.json -o %~dp0\Tools\lkg -r win7-x64 &popd + @if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj diff --git a/lkg/fsc/project.json b/lkg/fsc/project.json deleted file mode 100644 index ab155d1ac06..00000000000 --- a/lkg/fsc/project.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "version": "1.0.0-*", - "name": "fsc", - "buildOptions": { - "debugType": "portable", - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.FSharp.Compiler.netcore": "1.0.0-alpha-161102", - }, - "runtimes": { - "win7-x86": { }, - "win7-x64": { }, - "osx.10.10-x64": { }, - "ubuntu.14.04-x64": { } - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - }, - "imports": "dnxcore50" - } - }, - "scripts": { - "postpublish": [ "cmd /c copy %publish:OutputPath%\\runtimes\\any\\native\\* %publish:OutputPath%" ] - } -} \ No newline at end of file diff --git a/lkg/fsi/project.json b/lkg/fsi/project.json deleted file mode 100644 index 0dd87c337f2..00000000000 --- a/lkg/fsi/project.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "version": "1.0.0-*", - "name": "fsi", - "buildOptions": { - "debugType": "portable", - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.FSharp.Compiler.netcore": "1.0.0-alpha-161102", - }, - "runtimes": { - "win7-x86": { }, - "win7-x64": { }, - "osx.10.10-x64": { }, - "ubuntu.14.04-x64": { } - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - }, - "imports": "dnxcore50" - } - }, - "scripts": { - "postpublish": [ "cmd /c copy %publish:OutputPath%\\runtime\\any\\native\\* %publish:OutputPath%" ] - } -} \ No newline at end of file diff --git a/lkg/project.json b/lkg/project.json new file mode 100644 index 00000000000..3a197eed86e --- /dev/null +++ b/lkg/project.json @@ -0,0 +1,20 @@ + +{ + "dependencies": { + "Microsoft.FSharp.Compiler.Host.netcore": "1.0.0-alpha-161102", + "Microsoft.NETCore.Runtime.CoreCLR": "1.0.2", + "Microsoft.NETCore.DotNetHostPolicy": "1.0.1", + "Microsoft.NETCore.DotNetHost": "1.0.1" + }, + "runtimes": { + "win7-x86": { }, + "win7-x64": { }, + "osx.10.10-x64": { }, + "ubuntu.14.04-x64": { } + }, + "frameworks": { + "netstandard1.6": { + "imports": "portable-net45+win8" + } + } +} \ No newline at end of file From 5232f8f4be64801fdbd0e8f195dbb9df7701d9f6 Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Fri, 4 Nov 2016 00:26:31 -0700 Subject: [PATCH 5/5] Remove dup lines --- src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj b/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj index 21725b08865..89b54953498 100644 --- a/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj +++ b/src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj @@ -101,7 +101,6 @@ - @@ -109,7 +108,6 @@ - @@ -119,8 +117,6 @@ - -