From 6733181a7b01768e0b3b01df3ee7780fd1236fae Mon Sep 17 00:00:00 2001 From: Taylor Wood Date: Sun, 29 Sep 2019 23:24:21 -0500 Subject: [PATCH] Ensure main namespace is compiled --- src/clj/native_image.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/native_image.clj b/src/clj/native_image.clj index e5933b2..d09da40 100644 --- a/src/clj/native_image.clj +++ b/src/clj/native_image.clj @@ -80,7 +80,7 @@ (let [deps-map (merged-deps) namespaces (mapcat (comp find-namespaces-in-dir io/file) (:paths deps-map))] (prep-compile-path) - (doseq [ns namespaces] + (doseq [ns (distinct (conj namespaces main-ns))] (println "Compiling" ns) (compile (symbol ns)))