未验证 提交 9d290901 编写于 作者: K Kevin Ransom (msft) 提交者: GitHub

Revert tools.sh edit (#13796)

* Revert tools.sh edit

* Add binlog to build.sh for proto stuff
上级 9911902d
......@@ -255,21 +255,24 @@ function BuildSolution {
rm -fr $bootstrap_dir
fi
if [ ! -f "$bootstrap_dir/fslex.dll" ]; then
local bltools=""
if [[ "$bl" != "" ]]; then
bltools=$bl+".lex.binlog"
fi
BuildMessage="Error building tools"
MSBuild "$repo_root/buildtools/buildtools.proj" \
/restore \
/p:Configuration=$bootstrap_config
MSBuild "$repo_root/buildtools/buildtools.proj" /restore "$bltools" /p:Configuration=$bootstrap_config
mkdir -p "$bootstrap_dir"
cp -pr $artifacts_dir/bin/fslex/$bootstrap_config/net7.0 $bootstrap_dir/fslex
cp -pr $artifacts_dir/bin/fsyacc/$bootstrap_config/net7.0 $bootstrap_dir/fsyacc
fi
if [ ! -f "$bootstrap_dir/fsc.exe" ]; then
local bltools=""
if [[ "$bl" != "" ]]; then
bltools=$bl+".bootstrap.binlog"
fi
BuildMessage="Error building bootstrap"
MSBuild "$repo_root/Proto.sln" \
/restore \
/p:Configuration=$bootstrap_config
MSBuild "$repo_root/Proto.sln" /restore "$bltools" /p:Configuration=$bootstrap_config
cp -pr $artifacts_dir/bin/fsc/$bootstrap_config/net7.0 $bootstrap_dir/fsc
fi
fi
......
......@@ -490,7 +490,7 @@ function MSBuild-Core {
}
}
RunBuildTool "$_InitializeBuildToolCommand" /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci /bl "$@"
RunBuildTool "$_InitializeBuildToolCommand" /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci "$@"
}
ResolvePath "${BASH_SOURCE[0]}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册