[boot]: plugging into circle
This commit is contained in:
parent
c7a737126f
commit
9d23f190b3
2 changed files with 12 additions and 5 deletions
|
|
@ -76,13 +76,15 @@
|
|||
(set-env! :resource-paths #{"test/resources"})
|
||||
|
||||
(comp
|
||||
(tcs/test-cljs :out-file "mount.js")))
|
||||
(tcs/test-cljs ;; :optimizations :advanced
|
||||
:out-file "mount.js")))
|
||||
|
||||
(deftask test-cljs-advanced []
|
||||
(set-env! :source-paths #(conj % "dev/clj" "dev/cljs"))
|
||||
(set-env! :resource-paths #{"dev/resources"})
|
||||
|
||||
(cljs :optimizations :advanced :ids #{"mount"}))
|
||||
(comp
|
||||
(cljs :optimizations :advanced :ids #{"mount"})))
|
||||
|
||||
(deftask cljs-example
|
||||
"mount cljs example"
|
||||
|
|
|
|||
11
circle.yml
11
circle.yml
|
|
@ -2,9 +2,14 @@ machine:
|
|||
java:
|
||||
version: oraclejdk8
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
- wget https://github.com/boot-clj/boot-bin/releases/download/2.4.2/boot.sh
|
||||
- mv boot.sh boot && chmod a+x boot && sudo mv boot /usr/local/bin
|
||||
|
||||
test:
|
||||
override:
|
||||
- lein do clean, test
|
||||
- lein do clean, doo phantom test once
|
||||
- lein do clean, cljsbuild once prod
|
||||
- boot test
|
||||
- boot test-cljs
|
||||
- boot test-cljs-advanced
|
||||
- lein test2junit
|
||||
|
|
|
|||
Loading…
Reference in a new issue