I'm happy to announce the release of the third preview of Leiningen 2.0.0.
Highlights include the ability to show a full dependency tree a la "mvn
dependency:tree", a host of repl improvements, better offline support,
and the ability to load "lein new" templates on-demand.
* Add HTTP nREPL support for repl task via :connect option. (Chas Emerick,
Phil Hagelberg)
* Improve repl startup time, output consistency, Windows support. (Lee Hinman,
Colin Jones)
* Stop using numeric exit codes for task failures.
* Dynamically resolve unknown templates in new task.
* Automatically activate offline profile when needed.
* Honor $http_proxy environment variable. (Juergen Hoetzel)
* Allow arbitrary :filespecs to be included in jars.
* Let custom :prep-tasks be specified in project.clj.
* Include :java-source-paths and dev/test deps in pom. (Nelson Morris)
* Add offline profile.
* Prevent project JVMs from outlasting Leiningen's process. (Colin Jones)
* Update lein.bat to work with version 2. (Andrew Kondratovich)
* Show a dependency tree in deps task. (Chas Emerick, Nelson Morris)
* Support connecting to nrepl server in repl task. (Chas Emerick, Colin Jones)
* Pretty-print pom.xml. (Nelson Morris)
* Display task aliases in help task. (Michael S. Klishin)
* Only compile stale java source files. (Stephen C. Gilardi)
* Respect :java-cmd in project.clj. (Michael S. Klishin)
* Show progress when downloading search indices. (Justin Kramer)
If you have an earlier preview version, you can pull this in via "lein
upgrade". If you only have Leiningen 1.x installed, you will have to
download preview3 by hand:
https://raw.github.com/technomancy/leiningen/preview/bin/lein
Note that this does not conflict in any way with Leiningen 1.x; you can
keep the two of them installed side-by-side. It's common to save the
above script as "lein2" to differentiate between the two of them if you
have projects that don't yet work with Leiningen 2.
So far we've found the preview2 release to be quite stable, so now would
be a great time to try upgrading if you've been holding off:
https://github.com/technomancy/leiningen/wiki/Upgrading
If you're interested in contributing, I've categorized the existing
TODOs into low-hanging fruit, intermediate, and complex; pick something
and hop on the #leiningen channel in freenode:
https://github.com/technomancy/leiningen/blob/master/todo.org
thanks!
-Phil
> I'm happy to announce the release of the third preview of Leiningen 2.0.0.
lein2-preview3 is already live on travis-ci.org. More about using lein2 in our Clojure guide [1], see [2]
if you are only getting started.
1. http://about.travis-ci.org/docs/user/languages/clojure/
2. http://about.travis-ci.org/docs/user/getting-started/
MK
> 1. http://about.travis-ci.org/docs/user/languages/clojure/
I believe it begs for the following change:
s/Standalone Leiningen 2.0.0 [preview 2]./Standalone Leiningen 2.0.0
[preview 3]./
in CI environment for Clojure Projects.
Jacek
--
Jacek Laskowski
Functional languages (Clojure), Java EE, and IBM WebSphere -
http://blog.japila.pl
"Never discourage anyone who continually makes progress, no matter how
slow." Plato