Fork me on GitHub
#announcements
<
2022-04-22
>
arohner09:04:02

https://github.com/griffinbank/rules_clojure, a library for building and testing using Bazel

🔥 6
❤️ 3
🎉 2
beders03:04:17

Curious to know how much faster builds got when adopting bazel.

arohner11:04:32

compilation is about the same, despite bazel compiling in parallel. The killer feature though is test caching. It’s possible for a 2 hour test suite to run in 5 minutes because you can run tests in parallel locally, and it only runs “dirty” tests, i.e. only run tests for source files that have changed since the last test

👍 2
sleepyfox13:05:56

How do you know which test files are affected by which source files?

arohner12:05:05

Bazel requires you to specify the inputs and outputs of every build action. A test is just a binary that returns 0 or 1, and depends on all source files required to run the test

sleepyfox14:05:20

Oh, so like a make action then?

arohner14:05:41

Similar. Bazel uses a sandbox to force your inputs and outputs to be correct. It also has a network attached cache

djblue19:04:44

Just released Portal https://github.com/djblue/portal/releases/tag/0.24.0, a data exploration / navigation tool for clojure. Some recent highlights include: - A viewer for clojure.test output - Improvements to the exception viewer - A terminal viewer for stdout/stderr style output Drop by #portal with any questions.

portal 20
🎉 7
🚀 4
arohner11:04:32

compilation is about the same, despite bazel compiling in parallel. The killer feature though is test caching. It’s possible for a 2 hour test suite to run in 5 minutes because you can run tests in parallel locally, and it only runs “dirty” tests, i.e. only run tests for source files that have changed since the last test

👍 2