提交 0762ad41 编写于 作者: J Jared Parsons

Restore generates binary logs on Unix

上级 a3d3b856
...@@ -104,6 +104,12 @@ do ...@@ -104,6 +104,12 @@ do
shift shift
done done
config_path=${binaries_path}/${build_configuration}
logs_path=${config_path}/Logs
mkdir -p ${binaries_path}
mkdir -p ${config_path}
mkdir -p ${logs_path}
if [[ "$build_in_docker" = true ]] if [[ "$build_in_docker" = true ]]
then then
echo "Docker exec: $args" echo "Docker exec: $args"
...@@ -115,7 +121,10 @@ source "${root_path}"/build/scripts/obtain_dotnet.sh ...@@ -115,7 +121,10 @@ source "${root_path}"/build/scripts/obtain_dotnet.sh
if [[ "$restore" == true ]] if [[ "$restore" == true ]]
then then
"${root_path}"/build/scripts/restore.sh echo "Restoring RoslynToolset.csproj"
dotnet restore "${root_path}/build/ToolsetPackages/RoslynToolset.csproj" /bl:${logs_path}/Restore-RoslynToolset.binlog
echo "Restoring Compilers.sln"
dotnet restore "${root_path}/Compilers.sln" /bl:${logs_path}/Restore-Compilers.binlog
fi fi
build_args="--no-restore -c ${build_configuration} /nologo /maxcpucount:1" build_args="--no-restore -c ${build_configuration} /nologo /maxcpucount:1"
......
#!/usr/bin/env bash
THIS_DIR=$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)
echo "Restoring toolset packages"
RESTORE_ARGS="-v Minimal --disable-parallel"
echo "Restoring RoslynToolset.csproj"
dotnet restore ${RESTORE_ARGS} "${THIS_DIR}/../ToolsetPackages/RoslynToolset.csproj"
echo "Restoring Compilers.sln"
dotnet restore ${RESTORE_ARGS} "${THIS_DIR}/../../Compilers.sln"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册