File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
(defn run-cljs-doc-tests []
20
20
(status/line :head " Running code block tests under ClojureScript" )
21
- (shell/command " clojure" " -M:test-common:test-docs:cljs:cljs-test"
22
- " --compile-opts" " {:warnings {:fn-deprecated false :single-segment-namespace false}}"
23
- " --dir" " target/test-doc-blocks/test"
24
- " --out" " target/cljsbuild/doc-tests" ))
21
+ (let [compile-opts {:warnings {:fn-deprecated false :single-segment-namespace false }}
22
+ opts-fname " target/cljsbuild/test/doc-tests-opts.edn" ]
23
+ (spit opts-fname compile-opts)
24
+ (shell/command " clojure" " -M:test-common:test-docs:cljs:cljs-test"
25
+ " --compile-opts" opts-fname
26
+ " --dir" " target/test-doc-blocks/test"
27
+ " --out" " target/cljsbuild/doc-tests" )))
25
28
26
29
(defn -main [& args]
27
30
(when (main/doc-arg-opt args)
You can’t perform that action at this time.
0 commit comments