3 ms·
> > It works with your existing build system. > If I have a build system, or a build system generator, why do I need to redefine my build another way? There a
by yagizdegirmenci 5y ago
> > It works with your existing build system.
> If I have a build system, or a build system generator, why do I need to redefine my build another way?
There are build systems such as SBT, Maven, Webpack etc, Other build systems such as Bazel completely replaces them, what earthly offers is integration with them.
- pcj-github 5y agoThe comparison to Bazel here is really not appropriate. The core competency of Bazel is to know exactly the build graph and be able to do the minimum amount of work possible. I don't see how this (basically syntactic sugar over multi-stage docker builds) is going to scale in a large monorepo with hundreds or thousands of developers and still maintain CI build times on the order of minutes.
- agbell 5y agoHere is a small monorepo example. We build a DAG of dependencies between parts of the monorepo and only rebuild what is needed. This is different but similar to what Bazel does.
- einpoklum 5y agoI still don't understand. If you're using, say, SBT and you like it, why do you need Earthly again? And if you don't like it, why don't you replace it if it's possible to replace?
- agbell 5y agoHere is an SBT example[1]. Earthly is starting up the database dependencies, running the integration tests, tearing them down and other glue type things that need to happen when a complex build pipeline has dependencies and several steps. https://github.com/earthly/earthly/blob/main/examples/integration-test/Earthfile https://github.com/earthly/earthly/blob/main/examples/integr...
- mrmanner 5y agoIf you use both SBT and npm, for example, to build your full project, then having something to wrap them could be nice. That could be make or earthly or a random script. Also if you’re using SBT and you do like it, but you want something it doesn’t do, say shared caching. In that case Earthly could provide that but you can keep your existing build config intact. At the cost of added complexity, though.
- einpoklum 5y agoAh, now this is a value proposition! If they would only say _that_ on their front page, I would understand what they're offering me. Well, that, and a list of extra features they offer relative to various build systems.