【发布时间】:2013-05-12 21:22:33
【问题描述】:
所以我去了 clojure.org/downloads,它说我可以通过 leiningen 获得 clojure。伟大的。我去 leiningen.org 并认为我正在按照说明进行操作。它说要获取他们的 bash 脚本并将其放入您的 ~/bin/ 中。使其可执行。做到了。 ……然后呢?运行脚本?它没有说,但我做到了。这会创建一个 .lein ,我认为它应该这样做。怎么办?我现在如何安装 clojure?这就是 clojure.org/downloads 所说的:
Modify the dependencies and repositories sections of your Leiningen project.clj file, specifying the version of Clojure that you want:
; under dependencies, select the release of clojure
; (and optionally clojure-contrib) that you want
:dependencies [[org.clojure/clojure
"1.5.0-alpha5"]]
但我不知道这意味着什么,因为我在任何地方都找不到“project.clj”文件。 ~/.lein/self-installs 有一个怪物 leiningen-2.1.3-standalone.jar 文件,它可能不希望我破解它。我现在该怎么办?我以后如何更好地了解自己?
【问题讨论】: