Last active
December 17, 2015 12:59
-
-
Save knjname/5614110 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /target | |
| /lib | |
| /classes | |
| /checkouts | |
| pom.xml | |
| pom.xml.asc | |
| *.jar | |
| *.class | |
| .lein-deps-sum | |
| .lein-failures | |
| .lein-plugins | |
| .lein-repl-history |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns core | |
| (:require [clojure.tools.nrepl.server :refer [start-server ]]) | |
| (:gen-class)) | |
| (defn -main [& args] | |
| (start-server :port 13333) | |
| (println "invoked!")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (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