Skip to content

Commit

Permalink
Compile main namespace first
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwood committed Oct 1, 2019
1 parent 6733181 commit 7773c73
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 (distinct (conj namespaces main-ns))]
(doseq [ns (distinct (cons main-ns namespaces))]
(println "Compiling" ns)
(compile (symbol ns)))

Expand Down

0 comments on commit 7773c73

Please sign in to comment.