diff options
author | Eduardo Julian | 2021-08-20 03:12:49 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-08-20 03:12:49 -0400 |
commit | 374ccf07246484eb7beb2cd87f3fc88396373ee1 (patch) | |
tree | 4ed37fd579df1765dde6b57450f239844f7a07c1 /lux-lein | |
parent | d772fe99d5d4990c6774481fb64d12280cdb6aae (diff) |
More fixes.
Diffstat (limited to 'lux-lein')
-rw-r--r-- | lux-lein/src/leiningen/lux/utils.clj | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lux-lein/src/leiningen/lux/utils.clj b/lux-lein/src/leiningen/lux/utils.clj index debd9832d..c18ea5a51 100644 --- a/lux-lein/src/leiningen/lux/utils.clj +++ b/lux-lein/src/leiningen/lux/utils.clj @@ -95,7 +95,8 @@ (project-id project)) raw-paths (project-jars project) stdlib-path (when (not is-stdlib?) - (prepare-path (find-stdlib-path raw-paths))) + (when-let [stdlib-path (find-stdlib-path raw-paths)] + (prepare-path stdlib-path))) sdk-path (get-in project [:lux :android :sdk]) android-path (str sdk-path java.io.File/separator "platforms" @@ -112,7 +113,8 @@ program-dependencies (let [deps (->> raw-paths (filter (complement compiler-dependency?)) (map prepare-path))] - (if is-stdlib? + (if (or is-stdlib? + (nil? stdlib-path)) deps (list* stdlib-path deps))) compiler-path (prepare-path (find-compiler-path raw-paths)) |