Updated todos.

This commit is contained in:
Phil Hagelberg 2009-11-28 21:35:19 -08:00
parent 04f076dd36
commit 7acd4cb32d
4 changed files with 4 additions and 1 deletions

View file

@ -63,7 +63,7 @@ if [ "$1" = "compile" -o "$1" = "jar" -o "$1" = "uberjar" ]; then
fi
if [ "$1" = "repl" ]; then
# If repl used leiningen.core then there'd be no way to bootstrap AOT
# TODO: use rlwrap if present
java -cp "$CLASSPATH" clojure.main
elif [ "$1" = "self-install" ]; then
echo "Downloading Leiningen now..."

View file

@ -25,6 +25,7 @@
;; So it doesn't need to be fully-qualified in project.clj
(with-ns 'clojure.core (use ['leiningen.core :only ['defproject]]))
;; TODO: prompt to run "new" if no project file is found
(defn read-project
([file] (load-file file)
project)

View file

@ -47,6 +47,7 @@
(with-open [out (-> (file (:root project)
(str (:name project) "-standalone.jar"))
(FileOutputStream.) (ZipOutputStream.))]
;; TODO: any way to make sure we skip dev dependencies?
(let [deps (->> (file-seq (file (:root project) "lib"))
(filter #(.endsWith (.getName %) ".jar"))
(cons (file (:root project) (str (:name project) ".jar"))))

View file

@ -21,6 +21,7 @@ Leiningen TODOs
** Plugin Ideas:
*** Graph output for dependencies between namespaces
*** Start web server for web-related projects
*** Multi-module builds
* Low Priority
** TODO Slim jar task
** TODO Source jar task