如何将Clojure程序分发给非程序员? [英] How do you distribute a Clojure program to non-programmers?

查看:118
本文介绍了如何将Clojure程序分发给非程序员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Clojure的新人,但我正在学习它。我想知道最好的方式来包装和分发一个Clojure程序给最终用户不一定是程序员。我知道在Ruby你可以告诉用户下载程序与 gem install [程序名] 然后运行该命令运行程序。

I'm new to Clojure but I'm learning it. I'd like to know the best way to package and distribute a Clojure program to end users who aren't necessarily programmers. I know in Ruby you can just tell users to download the program with gem install [program name] and then run the command that runs the program. What's the equivalent for Clojure programs?

推荐答案

我使用 Leiningen 它有一个 uberjar 命令来制作自包含的可执行jar文件,您的用户只需双击即可。请参阅: http://zef.me/2470/building-clojure-projects-with-leiningen

I you use Leiningen it has an uberjar command to make self contained executable jar files, which your users can just double click. See: http://zef.me/2470/building-clojure-projects-with-leiningen

这篇关于如何将Clojure程序分发给非程序员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆