Move the remnants of swank out of lein proper.

This commit is contained in:
Phil Hagelberg 2009-11-15 14:41:45 -08:00
parent 41953e6dee
commit be8904b6f3
3 changed files with 3 additions and 3 deletions

View file

@ -44,8 +44,6 @@ Copy bin/lein to a location on your $PATH and run: $ lein self-install
$ lein uberjar # create a standalone jar that contains all dependencies $ lein uberjar # create a standalone jar that contains all dependencies
$ lein swank [PORT] # launch swank server for Emacs to connect
TODO: install, new, help, deploy, pom TODO: install, new, help, deploy, pom
## Configuration ## Configuration

View file

@ -6,6 +6,8 @@
(compile/compile project) (compile/compile project)
(let [jarfile (str (:root project) "/" (:name project) ".jar")] (let [jarfile (str (:root project) "/" (:name project) ".jar")]
;; TODO: add manifest ;; TODO: add manifest
;; TODO: add project.clj to the jar
(lancet/jar {:jarfile jarfile} (lancet/jar {:jarfile jarfile}
;; TODO: add src/ but support slim, etc. ;; TODO: add src/ but support slim, etc.
(lancet/fileset {:dir *compile-path*})))) (lancet/fileset {:dir *compile-path*}))
jarfile))