Skip to content

Commit

Permalink
Debug output in apply-task.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Oct 4, 2012
1 parent b5dc41a commit ff0e95b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/lein
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions leiningen-core/src/leiningen/core/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ff0e95b

Please sign in to comment.