Don't fail if bootclasspath deps list isn't found.
When this isn't present we should assume no files are on the bootclasspath. Fixes #2369.
This commit is contained in:
parent
02c24865ee
commit
884189a798
1 changed files with 4 additions and 2 deletions
|
@ -404,8 +404,10 @@
|
||||||
(doseq [[_ {:keys [native-prefix file]}] snap-deps]
|
(doseq [[_ {:keys [native-prefix file]}] snap-deps]
|
||||||
(extract-native-dep! native-path file native-prefix))))))
|
(extract-native-dep! native-path file native-prefix))))))
|
||||||
|
|
||||||
(def ^:private bootclasspath-deps (-> "leiningen/bootclasspath-deps.clj"
|
(def ^:private bootclasspath-deps
|
||||||
io/resource slurp read-string))
|
(if-let [deps-file (io/resource "leiningen/bootclasspath-deps.clj")]
|
||||||
|
(slurp (read-string deps-file))
|
||||||
|
[]))
|
||||||
|
|
||||||
(defn- warn-conflicts
|
(defn- warn-conflicts
|
||||||
"When using the bootclasspath (for boot speed), resources already on the
|
"When using the bootclasspath (for boot speed), resources already on the
|
||||||
|
|
Loading…
Reference in a new issue