technomancy/leiningen — pull request #391 by Raynes (2012-02-05 10:26:43+00:00)
Title: Remove newnew stuff from leiningen and add it as a dependency.

I finally got busy and did the Leiningen stuff that has been piling up on me.

We talked about what we were going to do with lein-newnew. You wanted it to be compatible with both lein1 and lein2, so I made it so. Latest release is 0.2.1 and should be compatible with both versions of Leiningen.

You also said we should make lein-newnew a dependency of Leiningen, so I did that too. The reason I'm making this a pull request instead of just merging it in is because of how I had to do this. I had to add the lein-newnew dep to leiningen-core, which makes absolutely no sense. I tried every possible way I could think of to add it as a dependency to leiningen itself, but I couldn't get it to work. The tasks were only visible in the Leiningen project and the 'templates' task couldn't list templates because, for some reason, namespaces-matching didn't see newnew (or any of leins own deps) on the classpath.

I'm stumped and it's 4AM, so I'll just wait for your input.

P.S. I closed every single lein-newnew issue in a single push. Zaro boogs!