-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.boot
28 lines (22 loc) · 801 Bytes
/
build.boot
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
(set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[proto-repl "0.3.1"]
[proto-repl-charts "0.3.1"]])
(println "welcome to boot")
(deftask dev
"Profile setup for development.
Starting the repl with the dev profile...
boot dev repl "
[]
(println "Dev profile running")
(set-env!
:init-ns 'user
:source-paths #(into % ["dev" "test"])
:dependencies #(into % '[[org.clojure/tools.namespace "0.2.11"]]))
;; Makes clojure.tools.namespace.repl work per https://github.com/boot-clj/boot/wiki/Repl-reloading
(require 'clojure.tools.namespace.repl)
(eval '(apply clojure.tools.namespace.repl/set-refresh-dirs
(get-env :directories)))
identity)
; (clojure.tools.namespace.repl/refresh-dirs)