tools-build 2025-05-27

I know tools.build and this library is officially recommended. However, in simple Clojure projects, tools.build can sometimes be overkill because it forces you to prepare a build.clj file. For example, in Rust, you can define your build process programmatically in a http://build.rs file when you're not satisfied with the standard build process. I'd like to introduce this approach to Clojure as well. Are there any libraries that function like a wrapper for tools.build?

There is https://github.com/seancorfield/build-clj but it now recommends just going with tools.build

🎉 1

I see, thanks!

I use deps-new to create all my projects initially: clojure -Tnew app :name my.new/cool.app or clojure -Tnew lib :name my.new/cool.lib and that creates all the "boilerplate" for the project that I mostly don't need to touch much afterward.

Thanks! I will try

there are a number of libraries that attempt this, each is slightly different lol. i built https://github.com/NoahTheDuke/clein (and feel conflicted about recommending it), @liquidz.uo made https://github.com/liquidz/build.edn, @borkdude made https://github.com/babashka/neil which can generate a build.clj and can do other build/deploy stuff

👍 2