Add in todos for 3.0.0.

This commit is contained in:
Jean Niklas L'orange 2013-06-15 20:47:19 +02:00
parent d75f9f1921
commit 1c43a36125
2 changed files with 4 additions and 2 deletions

View file

@ -5,7 +5,6 @@
[clojure.string :as string] [clojure.string :as string]
[cemerick.pomegranate :as pomegranate] [cemerick.pomegranate :as pomegranate]
[cemerick.pomegranate.aether :as aether] [cemerick.pomegranate.aether :as aether]
[leiningen.core.user :as user]
[leiningen.core.project :as project] [leiningen.core.project :as project]
[leiningen.core.main :as main] [leiningen.core.main :as main]
[leiningen.core.classpath :as classpath] [leiningen.core.classpath :as classpath]
@ -151,7 +150,7 @@ leiningen.core.utils/platform-nullsink instead."
(map #(str (name (key %)) "=" (val %))) (map #(str (name (key %)) "=" (val %)))
(into-array String))) (into-array String)))
(defn sh (defn sh ;; TODO 3.0.0 - move to independent namespace. e.g. io.clj
"A version of clojure.java.shell/sh that streams in/out/err." "A version of clojure.java.shell/sh that streams in/out/err."
[& cmd] [& cmd]
(when *pump-in* (when *pump-in*

View file

@ -45,6 +45,9 @@
["help" [(first args)]] ["help" [(first args)]]
[(lookup-alias (first args) project) (rest args)])) [(lookup-alias (first args) project) (rest args)]))
;; TODO for 3.0.0: debug, info and exit should be in a separate namespace
;; (io.clj?) to avoid cyclic deps.
(def ^:dynamic *debug* (System/getenv "DEBUG")) (def ^:dynamic *debug* (System/getenv "DEBUG"))
(defn debug (defn debug