architecture

pavlosmelissinos 2020-12-21T19:27:01.343700Z

👋 Is there a way to use polylith with something like practicalli's https://github.com/practicalli/clojure-deps-edn in a meaningful way? Most project management tools assume that there are src, test and resources directories at the root of your project. This is obvious if you try grepping "src" in https://github.com/practicalli/clojure-deps-edn/blob/live/deps.edn`deps.edn`https://github.com/practicalli/clojure-deps-edn/blob/live/deps.edn`practicalli/clojure-deps-edn`. Tools like https://polylith.gitbook.io/polylith/, however, deviate from that convention and expect that you have multiple sets of src/`test`/`resources` directories (one per base/component). https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app So my question is: Can I have the cake and eat it too or should I use different deps aliases in a polylith project? Apologies if this isn't the right place to post this!

seancorfield 2020-12-21T19:33:43.346700Z

There's a #polylith channel which is probably the best place to ask specific questions about it but they have an example deps.edn file https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app/blob/master/deps.edn which shows how aliases are expected to be set up. The Practicalli deps.edn is really just an example showing what you can do with the CLI and aliases. By comparing the aliases in those two deps.edn files, you should be able to figure out how to add the tools you want to use with Polylith @pavlos

🙏 1