We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce2486 commit 8501884Copy full SHA for 8501884
CopyDist.ps1
@@ -13,10 +13,14 @@ $RunCopyTargets = @(
13
git clean dist -fdx *> CopyDist.log
14
15
Write-Progress -Status "Building copy targets..." -Activity "Copying distribution files"
16
-bazel build $RunCopyTargets *>> CopyDist.log
+bazel build $RunCopyTargets -k *>> CopyDist.log
17
18
foreach($Target in $RunCopyTargets)
19
{
20
Write-Progress -Status "$Target" -Activity "Copying distribution files"
21
bazel run --ui_event_filters=-info --noshow_progress $Target *>> CopyDist.log
22
+ if(-not $?)
23
+ {
24
+ throw "$Target failed. Check ./CopyDist.log for more details."
25
+ }
26
}
0 commit comments