Fork me on GitHub
#deps-new
<
2023-02-07
>
Sam Ritchie18:02:09

woohoo, shipped by first deps-new template yesterday: https://github.com/mentat-collective/clerk-utils/tree/main/resources/clerk_utils/custom and an example of the generated project lives here: https://github.com/mentat-collective/clerk-utils-custom-template Thanks @seancorfield for the library!!

🎉 4
seancorfield18:02:17

Nice! One thing to be aware of: if someone runs tooling on your template library that tries to load/analyze all the *.clj* files, those are not valid source code -- or if they add your template as a dependency. I recently updated all the .clj files (and .edn files) in the built-in templates to use .tmpl extensions to avoid that.

seancorfield18:02:40

It's an edge case: normally people just run a template to create a project -- but some folks are adding deps-new as a dependency and it was messing up some tooling that assumes everything on the classpath is loadable.

Sam Ritchie18:02:01

👍 that is good to know