aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/packages/template_bin.sh
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-04 14:12:38 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-04 16:32:21 +0000
commite17ec6059056a90dd7179f887a7c0baba143fd66 (patch)
treebed633355063b57e9b1d929ff4676db2e1f97227 /scripts/packages/template_bin.sh
parent311801ab2e3995543dc55a25efafc47693499e6e (diff)
Run bazel to unpack the install base at the end of the installer
This will make the user experience a bit nicer as it should make the first run of bazel faster. -- MOS_MIGRATED_REVID=102338873
Diffstat (limited to 'scripts/packages/template_bin.sh')
-rwxr-xr-xscripts/packages/template_bin.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh
index 2fb73bf3f0..b7b1f77b01 100755
--- a/scripts/packages/template_bin.sh
+++ b/scripts/packages/template_bin.sh
@@ -158,6 +158,9 @@ echo -n .
ln -s "${base}/bin/bazel" "${bin}/bazel"
echo -n .
+# Uncompress the bazel base install for faster startup time
+"${bin}/bazel" help >/dev/null
+
if [ -f "${bazelrc}" ]; then
echo
echo "${bazelrc} already exists, ignoring. It is either a link to"