Skip to Content
Beginning Bazel: Building and Testing for Java, Go, and More
book

Beginning Bazel: Building and Testing for Java, Go, and More

by P.J. McNerney
December 2019
Beginner to intermediate
197 pages
3h 32m
English
Apress
Content preview from Beginning Bazel: Building and Testing for Java, Go, and More
© P.J. McNerney 2020
P. McNerneyBeginning Bazelhttps://doi.org/10.1007/978-1-4842-5194-2_4

4. WORKSPACE File Functionality

P. J. McNerney1 
(1)
Blackhawk, CO, USA
 

In our last chapter, we created and ran our first Bazel project, focusing mostly on the bare minimum to get something up and running. During the course of that chapter, we employed two specially named files: BUILD and, to a much lesser extent, WORKSPACE. While the use of the BUILD file was apparent, we (intentionally) left the WORKSPACE file alone. In this chapter, we are going to explore a greater set of functionalities for the WORKSPACE file.

Note

This chapter will give a high-level overview of the WORKSPACE file; however, performing the exercises will be crucial to starting to get a feel ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Jenkins 2.x Continuous Integration Cookbook - Third Edition

Jenkins 2.x Continuous Integration Cookbook - Third Edition

Mitesh Soni, Alan Mark Berg

Publisher Resources

ISBN: 9781484251942Purchase LinkPublisher Website