如何在clojure中创建可执行文件? [英] How do I create an executable file in clojure?
本文介绍了如何在clojure中创建可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在使用Clojure Box在REPL环境中学习clojure。
如何创建可执行文件(.jar)?
我想知道是否可以这样做:
-
在记事本上写clojure代码并将其命名为project.clj
-
编译project.clj
/ p>
步骤#2不必在命令行中完成。 IDE很好。
解决方案
I've been learning clojure on the REPL environment with Clojure Box.
How can I make an executable file (.jar)?
I'm wondering if something like this is possible:
write clojure code on notepad and name it project.clj
compile project.clj
get executable file
Step #2 doesn't have to be done in command line. IDE is fine.
解决方案
Use Leiningen to create an uberjar.
这篇关于如何在clojure中创建可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文