Skip to content

Instantly share code, notes, and snippets.

@knjname
Last active December 17, 2015 12:59
Show Gist options
  • Select an option

  • Save knjname/5614110 to your computer and use it in GitHub Desktop.

Select an option

Save knjname/5614110 to your computer and use it in GitHub Desktop.
/target
/lib
/classes
/checkouts
pom.xml
pom.xml.asc
*.jar
*.class
.lein-deps-sum
.lein-failures
.lein-plugins
.lein-repl-history
(ns core
(:require [clojure.tools.nrepl.server :refer [start-server ]])
(:gen-class))
(defn -main [& args]
(start-server :port 13333)
(println "invoked!"))
(defproject nrepl-test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-path "./"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/tools.nrepl "0.2.3"]]
:main core)
;; referring http://matstani.github.io/blog/2013/05/20/embed-nrepl/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment