From be8904b6f3bd850e285fa06ec21b10322a00f489 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Sun, 15 Nov 2009 14:41:45 -0800 Subject: [PATCH] Move the remnants of swank out of lein proper. --- README.md | 2 -- src/leiningen/jar.clj | 4 +++- src/leiningen/swank.clj | 0 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 src/leiningen/swank.clj diff --git a/README.md b/README.md index d2c0d0ac..35d63a95 100644 --- a/README.md +++ b/README.md @@ -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 swank [PORT] # launch swank server for Emacs to connect - TODO: install, new, help, deploy, pom ## Configuration diff --git a/src/leiningen/jar.clj b/src/leiningen/jar.clj index b99db45b..18462b95 100644 --- a/src/leiningen/jar.clj +++ b/src/leiningen/jar.clj @@ -6,6 +6,8 @@ (compile/compile project) (let [jarfile (str (:root project) "/" (:name project) ".jar")] ;; TODO: add manifest + ;; TODO: add project.clj to the jar (lancet/jar {:jarfile jarfile} ;; TODO: add src/ but support slim, etc. - (lancet/fileset {:dir *compile-path*})))) + (lancet/fileset {:dir *compile-path*})) + jarfile)) diff --git a/src/leiningen/swank.clj b/src/leiningen/swank.clj deleted file mode 100644 index e69de29b..00000000