the*_*ian 14 clojure leiningen
我最近和Clojure一起玩.据我所知,Clojure生态系统中最受欢迎的依赖管理工具是Leiningen.但我也发现Clojure提供了可能取代Leiningen的CLI工具.由于Clojure的经验有限,我不太了解Leiningen和那些CLI工具之间的区别.我听说那些CLI工具很轻巧,这是什么意思?我应该如何使用它们?
CLI tools are more limited in scope than Leiningen - it's a small tool which you can use to launch a REPL quickly. Combined with tools.deps.alpha
it can be used to run code and pull in 3rd party dependencies. You can read more about it here.
Leiningen can do all of that, plus:
The Lein repository includes a sample project file, sample.project.clj, which is a bit overwhelming but shows all the things Lein can do.
在这一点上,Lein对于构建应用程序和库更有用-因为它具有您可能需要的所有功能。就是说,CLI工具+ tools.deps
正在迅速获得人们的关注,并且有一些项目添加了Leiningen所缺少的所有内容。