Skip to content

Commit a3d1ee9

Browse files
committed
Merge pull request Azure#1510 from yugangw-msft/forCI
Move build step from setupenv.bat to BuildAndInstallClu.bat
2 parents 3a15637 + 053deb6 commit a3d1ee9

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

tools/CLU/BuildAndInstallClu.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ if ERRORLEVEL 1 (
66
echo Please install 'dotnet', say from 'https://azureclu.blob.core.windows.net/tools/dotnet-win-x64.latest.zip', unzip, then add its bin folder to the PATH
77
exit /B 1
88
)
9+
10+
pushd
11+
cd %root%\src\CLU
12+
call dnu.cmd restore
13+
if ERRORLEVEL 1 (
14+
echo "dnu.cmd restore" failed under folder of "%root%\src\CLU"
15+
popd
16+
exit /B 1
17+
)
18+
popd
19+
920
@powershell -file %~dp0\BuildDrop.ps1
1021

1122
REM cook a msclu.cfg with a correct local repro path.

tools/CLU/SetupEnv.bat

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
echo off
22
setlocal
33
set root=%~dp0..\..
4-
echo Build all clu source projects
5-
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" %root%\build.proj /t:build >NUL
6-
7-
if ERRORLEVEL 1 (
8-
echo Build source project failed. To repro, run: msbuild build.proj /t:build
9-
exit /B 1
10-
)
114

125
REM build cmdlets packages
136
set DebugCLU=

0 commit comments

Comments
 (0)