Skip to content

Instantly share code, notes, and snippets.

@mattdeboard
Created September 18, 2014 04:27
Show Gist options
  • Save mattdeboard/d9b0cdfed5f862599276 to your computer and use it in GitHub Desktop.
Save mattdeboard/d9b0cdfed5f862599276 to your computer and use it in GitHub Desktop.
{:shared {:clean-targets ["out" :target-path]}
:tdd [:shared
{:cljsbuild
{:builds {:kanfold
{:compiler
{:optimizations :whitespace
:pretty-print true}}}}}]
:dev {:resources-paths ["dev-resources"]
:source-paths ["dev-resources/tools/http" "dev-resources/tools/repl"]
:dependencies [[ring "1.2.1"]
[compojure "1.1.6"]
[hickory "0.5.3"]]
:plugins [[com.cemerick/austin "0.1.5"]]}}
:cljsbuild
{:builds {:kanfold
{:source-paths ["dev-resources/tools/repl"]
:compiler
{:optimizations :whitespace
:preamble ["react/react-0.11.2.min.js"]
:pretty-print true}}}}
:injections [(require '[ring.server :as http :refer [run]]
'cemerick.austin.repls)
(defn browser-repl-env []
(reset! cemerick.austin.repls/browser-repl-env
(cemerick.austin/repl-env)))
(defn browser-repl []
(cemerick.austin.repls/cljs-repl
(browser-repl-env)))]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment