How to write a simile gen rule in Bazel

preview_player
Показать описание
#bazel #programming #beginners

In this tutorial I go through how to create the most simple bazel rule to get started.

We take two text files and use a simple command to combine the two files into another file
Рекомендации по теме
Комментарии
Автор

Please do more Bazel videos (pre-beginner to <....> please :) ). In my previous company, we started to use Bazel and I was always like WTH is happening here?!!

farzadmf
Автор

This is great! From what I’m starting to understand about Bazel, wouldn’t you want to go ac step father and wrap that genrule in a macro so that it looks like a rule when you use it? Like, combine() would be a macro that passes off to the genrule()?

jwatter
Автор

does anybody know how I can trigger "npm run build" OR "vite build" using bazel?

hgk
Автор

What's going on with Arctic Theory & the forthcoming title?

elganzandere
Автор

Labels

//absolute/path/to:target


gerald
welcome to shbcf.ru