I used to use clojure with leiningen years ago. Nowadays, I use only Haskell for writing tiny command line applications that I personally use. I also write shell scripts for really simple tasks.
I looked into clojure again. It seems clojure and clojurescript are not great for scripts. But, clojure can be used to build small command line applications that are not called repetitively.
It seems there are three major build systems.
- tools.dep with pack or depstar
leiningen is ok for small projects, but it is awkward for any kind of slightly complex build.
Boot can be great, but it seems to involve a non-trivial amount of coding for simple projects.
pack or depstar seems simple, but it seems awkward to use unless I specify options in a shell script. tools.dep approach doesn’t seem particularly well suited for building linux distribution packages, either.
What is the best way to build command line applications? Perhaps, shall I stick with haskell for command line programs?