Skip to content

Move build step from setupenv.bat to BuildAndInstallClu.bat #1510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tools/CLU/BuildAndInstallClu.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ if ERRORLEVEL 1 (
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
exit /B 1
)

pushd
cd %root%\src\CLU
call dnu.cmd restore
if ERRORLEVEL 1 (
echo "dnu.cmd restore" failed under folder of "%root%\src\CLU"
popd
exit /B 1
)
popd

@powershell -file %~dp0\BuildDrop.ps1

REM cook a msclu.cfg with a correct local repro path.
Expand Down
7 changes: 0 additions & 7 deletions tools/CLU/SetupEnv.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
echo off
setlocal
set root=%~dp0..\..
echo Build all clu source projects
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" %root%\build.proj /t:build >NUL

if ERRORLEVEL 1 (
echo Build source project failed. To repro, run: msbuild build.proj /t:build
exit /B 1
)

REM build cmdlets packages
set DebugCLU=
Expand Down