lein spec : spec is not a task

160 views
Skip to first unread message

Maaruks

unread,
Jul 31, 2012, 10:43:38 AM7/31/12
to spe...@googlegroups.com
Does leiningen 2 plugin work ?

$ cat project.clj                             
                                       
(defproject xxx "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :license {:name "Eclipse Public License"
  :dependencies [[org.clojure/clojure "1.4.0"]
                 [speclj "2.1.2"]]
  :plugin [[speclj "2.1.2"]]
  :test-path "spec/")
$ lein deps                                                                         
$ lein spec                                                                         
spec is not a task. Use "lein help" to list all tasks.
$ lein version                                                                      
Leiningen 2.0.0-preview7 on Java 1.7.0_05 Java HotSpot(TM) 64-Bit Server VM

Maaruks

unread,
Jul 31, 2012, 10:50:57 AM7/31/12
to spe...@googlegroups.com
of course, it should be
:plugins [[speclj "2.1.2"]]


Micah Martin

unread,
Aug 1, 2012, 4:55:45 AM8/1/12
to spe...@googlegroups.com
Maarkus,

Thanks for pointing out the typo.  I've pushed the fix.

Yes, speclj works with lein 2.

Micah
Reply all
Reply to author
Forward
0 new messages