Fork me on GitHub
#polylith
<
2023-10-26
>
Diego11:10:46

Hi everyone, I really like the idea of polylith, but I'm having issues with how I'm supposed to build projects. Why the build.clj is not included? I'm new to clojure and all it tools, so it's quite hard to figure out how to create build script .

seancorfield15:10:31

Polylith doesn't force you to build projects in a particular way -- it provides the structure and organization. For example, you could have a build.clj in each projects/<name> folder, or you could have a build.clj at the workspace root that knows how to build all the projects. Or you might use make in one project and build.clj in another, or mvn or whatever you want.

👍 2
seancorfield16:10:12

That said, if you create a new Polylith workspace with clj-new, it creates build.clj files for you in each project...

🙌 1
Diego17:10:42

Thanks, I will continue to explore the example project.