Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
e9f96615
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e9f96615
编写于
11月 10, 2016
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Script now verifies our build output
上级
c5708cfc
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
31 addition
and
2 deletion
+31
-2
build/Targets/Dependencies.props
build/Targets/Dependencies.props
+1
-0
build/scripts/test-build-correctness.ps1
build/scripts/test-build-correctness.ps1
+30
-2
未找到文件。
build/Targets/Dependencies.props
浏览文件 @
e9f96615
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<PropertyGroup>
<PropertyGroup>
<ManagedEsentVersion>
1.9.4
</ManagedEsentVersion>
<ManagedEsentVersion>
1.9.4
</ManagedEsentVersion>
<MicrosoftBuildVersion>
14.3.0
</MicrosoftBuildVersion>
<MicrosoftBuildVersion>
14.3.0
</MicrosoftBuildVersion>
<MicrosoftBuildLoggingStructuredLoggerVersion>
1.0.58
</MicrosoftBuildLoggingStructuredLoggerVersion>
<MicrosoftBuildTasksCoreVersion>
14.3.0
</MicrosoftBuildTasksCoreVersion>
<MicrosoftBuildTasksCoreVersion>
14.3.0
</MicrosoftBuildTasksCoreVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>
1.1.0
</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>
1.1.0
</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCompositionVersion>
1.0.27
</MicrosoftCompositionVersion>
<MicrosoftCompositionVersion>
1.0.27
</MicrosoftCompositionVersion>
...
...
build/scripts/test-build-correctness.ps1
浏览文件 @
e9f96615
...
@@ -25,8 +25,10 @@ function Get-PackagesPath {
...
@@ -25,8 +25,10 @@ function Get-PackagesPath {
return
$packagesPath
return
$packagesPath
}
}
pushd
$sourcePath
try
try
{
{
# TODO: RepoUtil needs to generate a powershell file that can be imported for
# TODO: RepoUtil needs to generate a powershell file that can be imported for
# values like this.
# values like this.
$structuredLoggerVersion
=
"1.0.58"
$structuredLoggerVersion
=
"1.0.58"
...
@@ -35,14 +37,40 @@ try
...
@@ -35,14 +37,40 @@ try
write-host
"Building Roslyn.sln with logging support"
write-host
"Building Roslyn.sln with logging support"
$structuredLoggerPath
=
join-path
$packagesPath
"Microsoft.Build.Logging.StructuredLogger\
$structuredLoggerVersion
\lib\net46\StructuredLogger.dll"
$structuredLoggerPath
=
join-path
$packagesPath
"Microsoft.Build.Logging.StructuredLogger\
$structuredLoggerVersion
\lib\net46\StructuredLogger.dll"
$roslynSlnPath
=
join-path
$sourcePath
"Roslyn.sln"
$logPath
=
join-path
$binariesPath
"build.xml"
$logPath
=
join-path
$binariesPath
"build.xml"
&
msbuild
/v:m
/m
/logger:StructuredLogger
`,
$structuredLoggerPath
`;
$logPath
$roslynSlnPath
&
msbuild
/v:m
/m
/logger:StructuredLogger
`,
$structuredLoggerPath
`;
$logPath
Roslyn.sln
if
(
-not
$?
)
{
exit
1
}
write-host
""
# Verify the state of our various build artifacts
write-host
"Running BuildBoss"
$buildBossPath
=
join-path
$binariesPath
"Exes\BuildBoss\BuildBoss.exe"
&
$buildBossPath
Roslyn.sln
Compilers.sln
src\Samples\Samples.sln
CrossPlatform.sln
"build\Targets"
$logPath
if
(
-not
$?
)
{
exit
1
}
write-host
""
# Verify the state of our project.jsons
write-host
"Running RepoUtil"
$repoUtilPath
=
join-path
$binariesPath
"Exes\RepoUtil\RepoUtil.exe"
&
$repoUtilPath
verify
if
(
-not
$?
)
{
exit
1
}
write-host
""
exit
0
}
}
catch
[
exception
]
catch
[
exception
]
{
{
write-host
$_
.
Exception
write-host
$_
.
Exception
exit
-1
exit
-1
}
}
finally
{
popd
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录