Permalink
Browse files

Debug output in apply-task.

  • Loading branch information...
1 parent b5dc41a commit ff0e95baf0a9c000bb4767d12f89b58311777039 @technomancy committed Oct 4, 2012
Showing with 3 additions and 0 deletions.
  1. +2 −0 bin/lein
  2. +1 −0 leiningen-core/src/leiningen/core/main.clj
View
@@ -139,6 +139,8 @@ if [ -r "$BIN_DIR/../src/leiningen/version.clj" ]; then
else # Not running from a checkout
add_path CLASSPATH "$LEIN_JAR"
+ # TODO: unify setting this; it's a complete mess. Should be able
+ # to easily modify jvm opts without losing bootclasspath
export LEIN_JVM_OPTS=${LEIN_JVM_OPTS:-"-Xbootclasspath/a:$LEIN_JAR"}
if [ ! -r "$LEIN_JAR" -a "$1" != "self-install" ]; then
@@ -143,6 +143,7 @@
(when-not (matching-arity? task args)
(abort "Wrong number of arguments to" task-name "task."
"\nExpected" (rest (:arglists (meta task)))))
+ (debug "Applying task" task-name "to" args)
(let [value (apply task project args)]
;; TODO: remove this for final release
(when (and value (number? value))

0 comments on commit ff0e95b

Please sign in to comment.