diff options
author | Kristina Chodorow <kchodorow@google.com> | 2015-05-13 17:08:29 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-05-15 09:43:58 +0000 |
commit | 4fa24ee853f9911e67e665f860d07a32f46d1c06 (patch) | |
tree | e2b8410807238571957215e7a121a123fedf437d /compile.sh | |
parent | 6d7b7ff464183045f54a1797565629ebee359f22 (diff) |
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
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" |