Skip to content

Commit

Permalink
buildall: stop building if one module failed to
Browse files Browse the repository at this point in the history
Do not try to build remaining drivers and installer if one failed along
the way.

Signed-off-by: Eric Chanudet <[email protected]>
  • Loading branch information
Eric Chanudet committed Apr 19, 2021
1 parent 9ec5f3c commit 197d02e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildall.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
@echo off

setlocal enabledelayedexpansion
set type=%1

for %%x in (xenbus, xenvusb, xenusbdevice, ivc, pv-display-helper, glasswddm) do (
for %%x in (xenbus, xencons, xenhid, xeniface, xennet, xenvbd, xenvif, xenvkbd, xenvusb, xenusbdevice, ivc, pv-display-helper, glasswddm) do (
pushd %%x
powershell ./build.ps1 %type% x64
set err=!errorlevel!
popd
if !err! neq 0 goto :eof
)

set type=%type:checked=Debug%
Expand Down

0 comments on commit 197d02e

Please sign in to comment.