Skip to content
Browse files

Handle options properly.

  • Loading branch information...
1 parent 9461cef commit 3da3ee4c28f5e8d8797d9e3dac8f494ce5448157 @Raynes committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/cake_autodoc/tasks.clj
View
6 src/cake_autodoc/tasks.clj
@@ -3,8 +3,10 @@
(deftask autodoc
"Generates autodoc documentation for your project based on keys defined in project.clj."
+ (prn *command-line-args*)
(bake (:use autodoc.autodoc) []
(autodoc
(merge
- (select-keys *project* [:name :description :root])
- (:autodoc *project*)))))
+ (select-keys *project* [:name :description :root :source-path])
+ (:autodoc *project*))
+ (next *command-line-args*))))

0 comments on commit 3da3ee4

Please sign in to comment.
Something went wrong with that request. Please try again.