Leiningen 1.6.1 released

86 views
Skip to first unread message

Phil Hagelberg

unread,
Jul 6, 2011, 1:42:01 PM7/6/11
to clo...@googlegroups.com, lein...@googlegroups.com

Hello folks.

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

Sergey Didenko

unread,
Jul 6, 2011, 1:59:12 PM7/6/11
to clo...@googlegroups.com
Hi Phil,

Is it an intention or a bug that dev-dependencies are being copied into "lib/dev" when :local-repo-classpath is true?

Regards, Sergey.

Phil Hagelberg

unread,
Jul 6, 2011, 2:01:24 PM7/6/11
to clo...@googlegroups.com
Sergey Didenko <sergey....@gmail.com> writes:

> 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

Conrad Taylor

unread,
Jul 6, 2011, 3:46:16 PM7/6/11
to Clojure
On Jul 6, 10:42 am, Phil Hagelberg <p...@hagelb.org> wrote:
> Hello folks.
>
> I just pushed out Leiningen 1.6.1!http://bit.ly/lein-news
Hi, should people new to Clojure install tool? Is this something that
mostly used within the command line or IDE? 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

Thanks for any additional information that you can provide.

-Conrad

Sergey Didenko

unread,
Jul 6, 2011, 4:07:43 PM7/6/11
to clo...@googlegroups.com
IMHO new people only will benefit from installing lein. It's very simple in basic usage.

It can be used both from command line and with IDE.

Though I prefer my own scripts for starting REPL with readline instead of "lein repl".

It can be used with Enclojure by running "lein pom" every time you update the dependencies.

Phil Hagelberg

unread,
Jul 6, 2011, 4:30:26 PM7/6/11
to clo...@googlegroups.com
Conrad Taylor <conr...@gmail.com> writes:

> 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

Reply all
Reply to author
Forward
0 new messages