Skip to content

Commit

Permalink
add leiningen help docs
Browse files Browse the repository at this point in the history
  • Loading branch information
slagyr committed Dec 6, 2012
1 parent 0fcace4 commit 2265e29
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -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
Expand Down
11 changes: 10 additions & 1 deletion src/leiningen/spec.clj
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/speclj/main.clj
Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions src/speclj/version.clj
Expand Up @@ -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
Expand Down

0 comments on commit 2265e29

Please sign in to comment.