Permalink
Browse files

add leiningen help docs

  • Loading branch information...
1 parent 0fcace4 commit 2265e296d9eea1a8fb1e91c9a2beed710d8c34d5 @slagyr committed Dec 6, 2012
Showing with 22 additions and 4 deletions.
  1. +6 −0 CHANGES.md
  2. +1 −1 LICENSE
  3. +10 −1 src/leiningen/spec.clj
  4. +3 −0 src/speclj/main.clj
  5. +2 −2 src/speclj/version.clj
View
@@ -1,3 +1,9 @@
+# 2.4.0
+
+* should-contain works with regular expressions, maps, and sequences
+* should-not-contain, opposite of should-contain
+* Adds leinigen task help/doc string.
+
# 2.3.2
* Vars (helpers fns and such) can be delcared inside contexts. Good suggestion by @mylesmegyesi.
View
@@ -1,4 +1,4 @@
-Copyright (c) 2010 Micah Martin
+Copyright (c) 2010-2013 Micah Martin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -41,7 +41,16 @@
'leiningen.compile)
((ns-resolve 'leiningen.compile 'prep) project false))))
-(defn spec [project & args]
+(defn spec
+ "Speclj - pronounced \"speckle\": a TDD/BDD framework for Clojure.
+
+You're currently using Speclj's Leiningen plugin. To get the Speclj's help
+documentation, as opposed to this message provided by Leinigen, try this:
+
+ lein spec --speclj
+
+That ough to do the trick."
+ [project & args]
(prepare project)
(let [speclj-args (cons "-c" args)
classpath (compute-classpath-string project)
View
@@ -63,6 +63,9 @@
(doseq [error (seq errors)]
(println error)))
(println)
+ (println "Speclj - pronounced \"speckle\": a TDD/BDD framework for Clojure.")
+ (println "Copyright (c) 2010-2013 Micah Martin under The MIT Licenses.")
+ (println)
(println "Usage: " speclj-invocation (.argString arg-spec))
(println)
(println (.parametersString arg-spec))
@@ -3,8 +3,8 @@
[clojure.string :as str]))
(def major 2)
-(def minor 3)
-(def tiny 4)
+(def minor 4)
+(def tiny 0)
(def snapshot false)
(def string
(str

0 comments on commit 2265e29

Please sign in to comment.