Merge pull request #2267 from liftoffio/javac-silent
Make javac respect LEIN_SILENT.
This commit is contained in:
commit
b79b25d0f7
2 changed files with 4 additions and 3 deletions
|
@ -151,7 +151,7 @@ Code that should run on startup belongs in a -main defn."
|
|||
form `(do
|
||||
~set-agent-threadpool-form
|
||||
(doseq [~ns-sym '~namespaces]
|
||||
~(if main/*info*
|
||||
~(when main/*info*
|
||||
`(binding [*out* *err*]
|
||||
(println "Compiling" ~ns-sym)))
|
||||
(try
|
||||
|
|
|
@ -88,8 +88,9 @@
|
|||
(java.lang.System/exit 1))]
|
||||
(if-let [compiler# (javax.tools.ToolProvider/getSystemJavaCompiler)]
|
||||
(do
|
||||
(binding [*out* *err*]
|
||||
(println "Compiling" ~(count files) "source files to" ~compile-path))
|
||||
~(when main/*info*
|
||||
`(binding [*out* *err*]
|
||||
(println "Compiling" ~(count files) "source files to" ~compile-path)))
|
||||
(.mkdirs (clojure.java.io/file ~compile-path))
|
||||
(when-not (zero?
|
||||
(.run compiler# nil nil nil
|
||||
|
|
Loading…
Reference in a new issue