Skip to content

Commit fe368f3

Browse files
latkinVFSharpTeam
authored andcommitted
Add script to build test tools from source (changeset 1225556)
1 parent b6bbcb0 commit fe368f3

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

tests/BuildTestTools.cmd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
@echo off
2+
3+
if /i "%1" == "debug" goto :ok
4+
if /i "%1" == "release" goto :ok
5+
6+
echo Builds a few test tools using latest compiler and runtime
7+
echo Usage:
8+
echo BuildTestTools.cmd debug
9+
echo BuildTestTools.cmd release
10+
exit /b 1
11+
12+
:ok
13+
14+
msbuild fsharpqa\testenv\src\ILComparer\ILComparer.fsproj /p:Configuration=%1 /t:Build
15+
xcopy /Y fsharpqa\testenv\src\ILComparer\bin\%1\* fsharpqa\testenv\bin
16+
17+
msbuild fsharpqa\testenv\src\HostedCompilerServer\HostedCompilerServer.fsproj /p:Configuration=%1 /t:Build
18+
xcopy /Y fsharpqa\testenv\src\HostedCompilerServer\bin\%1\* fsharpqa\testenv\bin
19+
20+
if exist ..\%1\net40\bin (
21+
xcopy /Y ..\%1\net40\bin\FSharp.Core.sigdata fsharpqa\testenv\bin
22+
xcopy /Y ..\%1\net40\bin\FSharp.Core.optdata fsharpqa\testenv\bin
23+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FSharp.Compiler.*
2+
FSharp.Core.*
3+
HostedCompilerServer.*
4+
ILComparer.*
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
obj
2+
bin

0 commit comments

Comments
 (0)