From 4fa24ee853f9911e67e665f860d07a32f46d1c06 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Wed, 13 May 2015 17:08:29 +0000 Subject: Require fetch for external dependencies This is a bit annoying from a UX perspective, as the JDK is an "external dependency" (and the C++ compiler really should be) so you have to run "fetch" on new repositories with nothing in the WORKSPACE file before doing your first build. -- MOS_MIGRATED_REVID=93532829 --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh index cb5c23add2..48e50699e9 100755 --- a/compile.sh +++ b/compile.sh @@ -500,4 +500,7 @@ else [[ $package_path != $old_line ]] && log "$warning" fi +# Run "bazel fetch" to bring in the JDK (so users don't have to). +${PWD}/output/bazel fetch //... + log "Build successful! Binary is here: ${PWD}/output/bazel" -- cgit v1.2.3