Permalink
Browse files

added Leiningen Swank example

  • Loading branch information...
1 parent b49679a commit 80d7feda9140e61d0f0fc9f1377cb238d2b5a027 @liebke liebke committed Dec 23, 2009
Showing with 22 additions and 0 deletions.
  1. +17 −0 examples/blog/projects/swank/README
  2. +5 −0 examples/blog/projects/swank/project.clj
@@ -0,0 +1,17 @@
+
+This is a simple project that is used to start a Swank server configured with Incanter and its dependencies using Leiningen. For more details see the following blog post: http://incanter-blog.org/2009/12/22/lein-swank/
+
+To build:
+
+Download the necessary dependencies:
+$ lein deps
+
+and start the Swank server:
+$ lein swank
+
+Now connect to the server within Emacs with the following command:
+M-x slime-connect
+
+That's it, you should have a live Clojure REPL in Emacs now, and can evaluate your Clojure code with 'C-x C-e'.
+
+
@@ -0,0 +1,5 @@
+(defproject incanter-swank "0.1.0"
+ :description "A Swank Server for Incanter"
+ :dependencies [[incanter "1.0-master-SNAPSHOT"]]
+ :dev-dependencies [[leiningen/lein-swank "1.0.0-SNAPSHOT"]])
+

0 comments on commit 80d7fed

Please sign in to comment.