We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba51cb commit 9c742ccCopy full SHA for 9c742cc
src/clj/native_image.clj
@@ -5,11 +5,11 @@
5
(:import (java.io File)))
6
7
(defn classpath
8
- "Returns the classpath string minus *this* project's path and plus *compile-path*."
+ "Returns the classpath string minus clj.native-image path and plus *compile-path*."
9
[]
10
(as-> (System/getProperty "java.class.path") $
11
(cs/split $ (re-pattern (str File/pathSeparatorChar)))
12
- (remove #(re-find #"clj\.native\-image" %) $) ;; exclude ourselves
+ (remove #(cs/includes? "clj.native-image" %) $) ;; exclude ourselves
13
(cons *compile-path* $) ;; prepend compile path for classes
14
(cs/join File/pathSeparatorChar $)))
15
0 commit comments