As I understand it, lein-noir was a plugin needed for Leiningen 1.x. But 
since Leiningen 2 you can create new projects using remote templates 
without having to install anything.

See lein help new:

If two arguments are passed, the first should be the name of a template,
> and the second is used as the name of the project, for example:
>
>     lein new *$TEMPLATE_NAME* $PROJECT_NAME
>
> The list of built-in templates can be shown with `lein help new`. 
> Third-party
> templates can be found at https://clojars.org/search?q=lein-template.
> *When creating a new project from a third-party template, use its group-id
> as the template name. Note that there's no need to "install" a given third-
> party template --- lein will automatically fetch it for you*.
>

This is why you can create a new project with the noir template with:

lein new noir project-name

Without any plugin.

Enjoy :)

Il giorno sabato 3 novembre 2012 06:47:46 UTC+1, Satoru Logic ha scritto:
>
>
>
> On Saturday, November 3, 2012 12:07:02 PM UTC+8, Sean Corfield wrote:
>>
>> On Fri, Nov 2, 2012 at 8:15 PM, Satoru Logic <sator...@gmail.com> wrote: 
>> > So I add a line of requirement into `~/.lein/profiles.clj`: 
>> > 
>> >      [lein-noir "1.2.1"] 
>>
>> You should not need that. 
>>
>
> Thanks.
>
> I remove the line from `profiles.clj` and it works!
>  
>
>>
>> I just tried on my system, which has no ~/.lein/profiles.clj file. I did: 
>>
>>     lein new noir my-website 
>>
>> (note the different syntax) 
>>
>> Then: 
>>
>>     cd my-website 
>>     lein run 
>>
>> and on http://localhost:8080 I see Noir is up and running... time to 
>> start building some websites! 
>> -- 
>> Sean A Corfield -- (904) 302-SEAN 
>> An Architect's View -- http://corfield.org/ 
>> World Singles, LLC. -- http://worldsingles.com/ 
>>
>> "Perfection is the enemy of the good." 
>> -- Gustave Flaubert, French realist novelist (1821-1880) 
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to