Skip to content

Instantly share code, notes, and snippets.

@alex-dixon
Forked from bhb/README.md
Last active July 28, 2018 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex-dixon/bf2218ed3d3c633ed0602e23ae76c420 to your computer and use it in GitHub Desktop.
Save alex-dixon/bf2218ed3d3c633ed0602e23ae76c420 to your computer and use it in GitHub Desktop.
Clojure cool mode

Stay cool Clojurists 😎

Usage:

clj -Sdeps '{:deps {cool {:git/url "https://gist.github.com/alex-dixon/bf2218ed3d3c633ed0602e23ae76c420" :sha "a9859300b5af48a18c88bdec2feb28bc91bd9d80"}}}' -m cool

(ns cool
(:require [expound.alpha :as expound]
[clojure.tools.nrepl.server :refer [start-server]]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]))
(defn -main []
(set! s/*explain-out* expound/printer)
(s/check-asserts true)
(st/instrument)
(start-server :port 60606))
{:paths ["."]
:deps {expound {:mvn/version "0.7.0"}
org.clojure/tools.nrepl {:mvn/version "0.2.12"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment