I just pushed out Leiningen 1.6.1! http://bit.ly/lein-news
Highlights in this release include:
* New search task: find dependencies in all remote repositories (not
just clojars) from the command-line.
* New retest task: re-run only the tests that failed in the last run.
* New trampoline task avoids creation of project subprocess. (Useful to
save memory in settings like Heroku.)
* Support dependencies that contain native libraries.
* Support constructing classpath out of ~/.m2 instead of copying to
lib/ by setting :local-repo-classpath true in project.clj.
As always, pull in the latest by running "lein upgrade". (The Windows
version will be updated soon.) Give it a try!
Last week version 1.6.0 was released, but it had a few issues, so it
wasn't widely announced. Those issues have been addressed in 1.6.1.
-Phil
> Is it an intention or a bug that dev-dependencies are being copied
> into "lib/dev" when :local-repo-classpath is true?
This is necessary since those dependencies need to be available to
Leiningen's own process, which has to be launched before project.clj is
parsed. Unfortunately lib/dev has to be hard-coded into the shell script.
-Phil
> Hi, should people new to Clojure install tool? Is this something that
> mostly used within the command line or IDE?
Yes, I think newcomers would benefit from installing it. Clojure is not
like most languages in that it is not "batteries included"--it's just a
library that you can include in your projects that happens to include a
primitive REPL. It's not very pleasant to interact directly with on a
regular basis.
Leiningen is designed to be used from the command-line, but it is also
integrated with various editors and IDEs.
> I noticed a MacPort for it at version 1.3.1 but I guess one can easily
> upgrade it to the latest by doing the following:
>
> lein upgrade
There have been issues reported in the past with the macports version; I
suggest installing manually (it's easy) or switching to homebrew if you
are on Mac OS X.
-Phil