ninjudd / cake

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

Added bake.core/context? utility function #93

Closed davidsantiago closed 13 years ago

davidsantiago commented 13 years ago

As discussed on IRC, I added the context? function to bake.core. It uses (:context cake/project), although that's a symbol, so it calls name on it. I noticed that there also appears to be (:mode cake/project) which gives a string version of the context. You weren't responsive on IRC, but I didn't see :mode mentioned anywhere in the docs, and you didn't mention it, so I went with :context. I assume that you will do the usual fixup if that is what you desire.