ninjudd / cake

A tasty build tool for Clojure.
clojure-cake.org
Eclipse Public License 1.0
171 stars 12 forks source link

Add "dev/" to cake's own classpath #111

Closed davidsantiago closed 13 years ago

davidsantiago commented 13 years ago

I think we should consider adding "dev/" to cake's classpath in bin/cake. This would let a project define its custom tasks in dev/ instead of in src/, so that the task code does not get deployed in JARs and WARs.

Of course, we're also talking about making the location of dev/ customizable, but as far as I can tell, cake itself doesn't do any parsing of the project.clj to figure out what those locations are, so we are always going to be kinda screwed there. I've made the change nonetheless (just added 6 characters: "dev/",) and it seems to work.

Raynes commented 13 years ago

@ninjudd Do you want this?

ninjudd commented 13 years ago

sure

Raynes commented 13 years ago

Done in SHA: b68af634661b5b5a0e2e