blob: b49eb3e7f89ec3d27ab72d90e5c3540fad20ef0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
set -ex
[[ -x "output/bazel" ]] || ./compile.sh
OUTPUT_BASE=$(mktemp -d /tmp/bazel_base_workspace.XXXXXXXX)
function delete_output_base() {
rm -fr $OUTPUT_BASE
}
trap delete_output_base EXIT
cd base_workspace
../output/bazel --batch --output_base $OUTPUT_BASE build -k //...
rm -f bazel-*
echo "Base workspace test succeeded"
|