Skip to content

Commit

Permalink
Ensure main namespace is compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwood committed Sep 30, 2019
1 parent e480cb9 commit 6733181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/native_image.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit 6733181

Please sign in to comment.