Last active
August 29, 2015 14:14
-
-
Save RaymondKroon/f9a12757eb40bccebc9b to your computer and use it in GitHub Desktop.
Vertx repl cider support
This file contains 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 vertx-test.core | |
(:require [vertx.core :as vertx] | |
[vertx.repl :as vrepl] | |
[cider.nrepl])) | |
(defn init | |
[] | |
(vrepl/start 0 "0.0.0.0" :handler 'cider.nrepl/cider-nrepl-handler | |
) | |
(vertx/periodic 1000 | |
(println "I'm working!")) | |
) |
This file contains 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 vertx-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"} | |
:dependencies [[org.clojure/clojure "1.6.0"][cider/cider-nrepl "0.8.1"]] | |
:plugins [[lein-vertx "0.3.1"]] | |
:vertx {:main vertx-test.core/init | |
:author "FIXME: Your name" | |
:keywords ["FIXME: keywords"] | |
:developers ["FIXME: other developers"]}) |
This file contains 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
It's not that hard, but I tend to easily forget |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment