Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Add MSBuild to .deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Jan 10, 2017
1 parent 9762822 commit 09ab6e9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions deploy.cmd
Expand Up @@ -48,6 +48,23 @@ IF NOT DEFINED KUDU_SYNC_CMD (
SET KUDU_SYNC_CMD=%appdata%\npm\kuduSync.cmd SET KUDU_SYNC_CMD=%appdata%\npm\kuduSync.cmd
) )


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Build
:: -----

:: NuGet package restore
echo "Restoring solution packages"
FOR /F %%d in ('DIR "*.sln" /S /B') DO (
call nuget restore %%d
)

:: MSBuild
echo "MSBuild solution"
FOR /F %%d in ('DIR "*.sln" /S /B') DO (
call msbuild.exe %%d /p:Configuration=Release
IF !ERRORLEVEL! NEQ 0 goto error
)

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Deployment :: Deployment
:: ---------- :: ----------
Expand Down

0 comments on commit 09ab6e9

Please sign in to comment.