Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
d7afa838
F
fsharp
项目概览
dotNET Platform
/
fsharp
12 个月 前同步成功
通知
0
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
fsharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d7afa838
编写于
4月 12, 2016
作者:
K
Kevin Ransom (msft)
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1061 from KevinRansom/master
Use msbuild to coordinate builds in build.cmd
上级
9e288341
4f7300cd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
55 addition
and
106 deletion
+55
-106
appveyor.yml
appveyor.yml
+1
-1
build-everything.proj
build-everything.proj
+53
-26
build.cmd
build.cmd
+1
-79
未找到文件。
appveyor.yml
浏览文件 @
d7afa838
...
...
@@ -25,4 +25,4 @@ artifacts:
type
:
zip
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
\ No newline at end of file
build-everything.proj
浏览文件 @
d7afa838
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<ItemGroup>
<ItemGroup Condition="'$(BUILD_NET40)'=='1'">
<ProjectsWithDefaultFramework Include="src/fsharp-library-build.proj" />
<ProjectsWithDefaultFramework Include="src/fsharp-compiler-build.proj" />
<ProjectsWithDefaultFramework Include="src/fsharp-typeproviders-build.proj" />
</ItemGroup>
<ItemGroup>
<ProjectsWithDefaultFramework Include="src/fsharp-library-unittests-build.proj" Condition="'$(TEST_NET40_COREUNIT)'=='1'" />
<ProjectsWithDefaultFramework Include="src/fsharp-compiler-unittests-build.proj" Condition="'$(TEST_COMPILERUNIT)'=='1'" />
<ProjectsWithDefaultFramework Include="tests/fsharp/FSharp.Tests.fsproj" Condition="'$(TEST_FSHARP_SUITE)'=='1'" />
</ItemGroup>
<ItemGroup>
<ProjectsWithPortableFramework Include="src/fsharp-library-build.proj" Condition="'$(BUILD_PORTABLE)'=='1'"/>
<ProjectsWithPortableFramework Include="src/fsharp-library-unittests-build.proj" Condition="'$(TEST_PORTABLE_COREUNIT)'=='1'" />
</ItemGroup>
<ItemGroup>
<ProjectsWithDefaultFramework Include="src/fsharp-typeproviders-build.proj" Condition="'$(BUILD_FSHARP_DATA_TYPEPROVIDERS)'=='1'" />
</ItemGroup>
<ItemGroup Condition="'$(BUILD_VS)'=='1'">
<ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-src-build.proj" />
<ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-project-templates-build.proj" />
<ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-item-templates-build.proj" />
<ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-deployment-build.proj" />
<ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-unittests-build.proj" />
<ProjectsWithDefaultFramework Include="src/fsharp-library-unittests-build.proj" />
<ProjectsWithDefaultFramework Include="src/fsharp-compiler-unittests-build.proj" />
<ProjectsWithDefaultFramework Include="tests/fsharp/FSharp.Tests.fsproj" />
<ProjectsWithPortableFramework Include="src/fsharp-library-build.proj" />
<ProjectsWithPortableFramework Include="src/fsharp-library-unittests-build.proj" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-unittests-build.proj" Condition="'$(TEST_VS)'=='1'" />
</ItemGroup>
<ItemGroup Condition="'$(BUILD_CORECLR)'=='1'">
<ProjectsWithCoreClr Include="src/fsharp-library-build.proj" />
<ProjectsWithCoreClr Include="src/fsharp-compiler-build.proj" />
</ItemGroup>
<ItemGroup>
<ProjectsWithCoreClr Include="src/fsharp-library-unittests-build.proj" Condition="'$(TEST_CORECLR)'=='1'" />
</ItemGroup>
<Target Name="Build">
<MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Build" BuildInParallel="true"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="TargetFramework=portable47"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="TargetFramework=portable7"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="TargetFramework=portable78"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="TargetFramework=portable259"/>
<MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration)" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable7" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable47" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable78" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable259" />
<MSBuild Projects="@(ProjectsWithCoreClr)" Targets="Build" BuildInParallel="false" Properties="Configuration=$(Configuration);TargetFramework=coreclr" />
</Target>
<Target Name="Rebuild">
<MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Rebuild" BuildInParallel="true"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="TargetFramework=portable47"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="TargetFramework=portable7"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="TargetFramework=portable78"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="TargetFramework=portable259"/>
<MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration)" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable7" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable47" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable78" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable259" />
<MSBuild Projects="@(ProjectsWithCoreClr)" Targets="Rebuild" BuildInParallel="false" Properties="Configuration=$(Configuration);TargetFramework=coreclr" />
</Target>
<Target Name="Clean">
<MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Clean" BuildInParallel="true"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="TargetFramework=portable47"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="TargetFramework=portable7"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="TargetFramework=portable78"/>
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="TargetFramework=portable259"/>
<MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration)" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable7" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable47" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable78" />
<MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable259" />
<MSBuild Projects="@(ProjectsWithCoreClr)" Targets="Clean" BuildInParallel="false" Properties="Configuration=$(Configuration);TargetFramework=coreclr" />
</Target>
</Project>
build.cmd
浏览文件 @
d7afa838
...
...
@@ -281,85 +281,7 @@ if '%BUILD_PROTO%' == '1' (
@if
ERRORLEVEL
1
echo
Error
:
NGen
of
proto
failed
&&
goto
:failure
)
%_msbuildexe%
%msbuildflags%
src
/fsharp-compiler-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
/p
:RestorePackages
=
%RestorePackages%
@if
ERRORLEVEL
1
echo
Error
:
compiler
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
/p
:RestorePackages
=
%RestorePackages%
@if
ERRORLEVEL
1
echo
Error
:
library
build
failed
&&
goto
:failure
if
'
%BUILD_FSHARP_DATA_TYPEPROVIDERS%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
src
/fsharp-typeproviders-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
/p
:RestorePackages
=
%RestorePackages%
@if
ERRORLEVEL
1
echo
Error
:
type
provider
build
failed
&&
goto
:failure
)
if
'
%BUILD_CORECLR%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-build
.proj
/p
:TargetFramework
=
coreclr
/p
:Configuration
=
%BUILD_CONFIG%
/p
:RestorePackages
=
%RestorePackages%
@if
ERRORLEVEL
1
echo
Error
:
library
coreclr
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-compiler-build
.proj
/p
:TargetFramework
=
coreclr
/p
:Configuration
=
%BUILD_CONFIG%
/p
:RestorePackages
=
%RestorePackages%
@if
ERRORLEVEL
1
echo
Error
:
compiler
coreclr
build
failed
&&
goto
:failure
if
'
%TEST_CORECLR%
'
==
'1'
(
%_msbuildexe%
src
/fsharp-library-unittests-build
.proj
/p
:TargetFramework
=
coreclr
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
unittests
build
failed
&&
goto
:failure
)
)
if
'
%BUILD_PORTABLE%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-build
.proj
/p
:TargetFramework
=
portable7
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
portable7
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-build
.proj
/p
:TargetFramework
=
portable47
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
portable47
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-build
.proj
/p
:TargetFramework
=
portable78
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
portable78
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-build
.proj
/p
:TargetFramework
=
portable259
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
portable259
build
failed
&&
goto
:failure
)
if
'
%TEST_COMPILERUNIT%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
src
/fsharp-compiler-unittests-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
compiler
unittests
build
failed
&&
goto
:failure
)
if
'
%TEST
_NET40_COREUNIT
%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-unittests-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
unittests
build
failed
&&
goto
:failure
)
if
'
%TEST_PORTABLE_COREUNIT%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-unittests-build
.proj
/p
:TargetFramework
=
portable7
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
unittests
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-unittests-build
.proj
/p
:TargetFramework
=
portable47
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
unittests
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-unittests-build
.proj
/p
:TargetFramework
=
portable78
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
unittests
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
src
/fsharp-library-unittests-build
.proj
/p
:TargetFramework
=
portable259
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
library
unittests
build
failed
&&
goto
:failure
)
if
'
%BUILD_VS%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
vsintegration
/fsharp-vsintegration-src-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
VS
integration
src
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
vsintegration
/fsharp-vsintegration-project-templates-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
VS
integration
project
templates
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
vsintegration
/fsharp-vsintegration-item-templates-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
VS
integration
item
templates
build
failed
&&
goto
:failure
%_msbuildexe%
%msbuildflags%
vsintegration
/fsharp-vsintegration-deployment-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
VS
integration
deployment
build
failed
&&
goto
:failure
if
'
%TEST_VS%
'
==
'1'
(
%_msbuildexe%
%msbuildflags%
vsintegration
/fsharp-vsintegration-unittests-build
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@if
ERRORLEVEL
1
echo
Error
:
VS
integration
unittests
build
failed
&&
goto
:failure
)
)
%_msbuildexe%
%msbuildflags%
build
-everything
.proj
/p
:Configuration
=
%BUILD_CONFIG%
@echo
on
call
src
\update.cmd
%BUILD_CONFIG_LOWERCASE%
-ngen
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录