Updated todos.
This commit is contained in:
parent
04f076dd36
commit
7acd4cb32d
4 changed files with 4 additions and 1 deletions
2
bin/lein
2
bin/lein
|
@ -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..."
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"))))
|
||||
|
|
1
todo.org
1
todo.org
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue