Building with Bazel [FREE]
source link: https://www.raywenderlich.com/31558158-building-with-bazel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Learning Bazel
Introduction
5:28 FreeUnderstand the very basics of Bazel: why it was created, what it does, and how it can help you.
Install Bazel
7:45 FreeLearn how to get Bazel up and running on your system. This episode shows how to install Bazel on macOS, Winodws, and Linux.
Understand Bazel
3:30 FreeGet an overview of all the various components that are needed to build a project using the Bazel build system.
Build a Simple App
8:02 FreeGet started with Bazel by writing a simple Java app that prints a joke to the console.
Meet the Sample Projects
3:14 FreeThis episodes introduces you to the several sample apps that you’ll be building throughout this course.
Use a Monorepo
3:51 FreeLearn about a monorepo. Get an idea about the advantages of using a monorepo and then you’ll do a little setup to get your monorepo.
Learn Starlark
5:23 FreeMeet the Starlark language that you’ll use to write your workspaces and build files. This episode will give you an overview of it.
Understand Bazel Rules
2:42 FreeLearn the purposes of Bazel rules and why you need to use them in order to compile your software projects.
Create a Workspace
4:54 FreeCreate a new workspace for your iOS app, by incorporating several special rules to written by the community.
Understand Dependencies
2:35 FreeLearn about how dependencies are handled with Bazel then see how to organize your dependencies in your project.
Add Dependencies
5:55 FreeSee how to add dependencies to your workspace for your Android project.
Write an iOS Build File
4:07 FreeUnderstand how Build files work in Bazel and then write a custom build file to compile an iOS app.
Write an Android Build File
4:36 FreeWrite a custom Build for your Android app, and see how to include dependencies in the build.
Incorporate a BazelRC File
3:12 FreeBe introduced to a BazelRC file and learn how to incorporate them into your Bazel build.
Run Unit Tests
4:55 FreeLearn how to define unit tests in your Build file and then how to run your tests using Bazel.
Use the Android Studio Plugin
4:20 FreeSee how to incorporate Bazel directly into Android Studio, allowing you to run your Bazel builds directly in the application.
Understand Distributed Builds
5:09 FreeLeverage the power of Bazel by incorporating a third party service to remotely compile your project.
Generate an Xcode Project
4:59 FreeLearn how to use custom rules with Bazel to generate an Xcode project for your iOS app.
Find Help
2:12 FreeLearn about all the various Bazel resources that you can turn to when you get off the happy path.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK