-
Notifications
You must be signed in to change notification settings - Fork 0
/
profiles.clj
31 lines (28 loc) · 1.21 KB
/
profiles.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{:shared {:clean-targets ["out" :target-path]}
:tdd [:shared
{:cljsbuild
{:builds {:structured-reporting
{:compiler
{:optimizations :whitespace
:pretty-print true}}}}}]
:dev [:shared
{: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.4"]]
:cljsbuild
{:builds {:structured-reporting
{:source-paths ["dev-resources/tools/repl"]
:compiler
{:optimizations :whitespace
: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)))]}]}