Skip to content

Commit 4894ec6

Browse files
m.vakulich@softteco.comm.vakulich@softteco.com
authored andcommitted
correct logging and artifact installation
1 parent 6078776 commit 4894ec6

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

project.clj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
[:id "clojure-compile"]
2626
[:phase "compile"]
2727
[:configuration
28-
[:temporaryOutputDirectory "true"]
29-
[:sourceDirectories [:sourceDirectory "src"]]]
30-
[:goals [:goal "compile"]]])}]])
28+
[:namespaces
29+
[:namespace "com.foo"]]
30+
[compileDeclaredNamespaceOnly "true"]
31+
[cleanAOTNamespaces "true"]
32+
[:sourceDirectories [:sourceDirectory "src"]]]
33+
[:goals [:goal "compile"]]])}]])

src/com/thelastcitadel/es/engine.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
*out* o
3737
*err* e
3838
*ns* (find-ns 'com.thelastcitadel.es.core)]
39-
(.println *err* "=============com.thelastcitadel.es.engine==========")
40-
(.println *err* (pr-str (find-ns 'com.thelastcitadel.es.core)))
41-
(.println *err* "=============/com.thelastcitadel.es.engine==========")
39+
(println "=============com.thelastcitadel.es.engine==========")
40+
(println (pr-str (find-ns 'com.thelastcitadel.es.core)))
41+
(println "=============/com.thelastcitadel.es.engine==========")
4242
(eval (read-string (str "(binding [*ns* *ns*] (eval '(do " script " )))")))))
4343
out (String. (.toByteArray out))]
4444
(when-not (empty? out)
45-
(.println *err* out))
45+
(log/info out))
4646
(fn [env]
4747
(try
4848
(fun env)

0 commit comments

Comments
 (0)