aboutsummaryrefslogtreecommitdiff
path: root/lux-lein
diff options
context:
space:
mode:
authorEduardo Julian2021-01-05 07:55:22 -0400
committerEduardo Julian2021-01-05 07:55:22 -0400
commit75102dcfa7c2c0afd32cb5bf5ac012df2db6a7a1 (patch)
tree643350e00eebc8682c5087a4cd73b5f9406d92fb /lux-lein
parentc03bd9f9787fb9f383c57b4ebb0fa9d49abbfaa1 (diff)
Added lexically-scoped templates.
Diffstat (limited to '')
-rw-r--r--lux-lein/src/leiningen/lux/utils.clj6
1 files changed, 5 insertions, 1 deletions
diff --git a/lux-lein/src/leiningen/lux/utils.clj b/lux-lein/src/leiningen/lux/utils.clj
index 23466e92f..e2ec2c1ca 100644
--- a/lux-lein/src/leiningen/lux/utils.clj
+++ b/lux-lein/src/leiningen/lux/utils.clj
@@ -120,8 +120,12 @@
(list* compiler-path)
(interpose java.io.File/pathSeparator)
(reduce str "")
+ sanitize-path)
+ module-path (->> program-dependencies
+ (interpose java.io.File/pathSeparator)
+ (reduce str "")
sanitize-path)]
- (str (java-command project) " -cp " class-path
+ (str (java-command project) " -cp " class-path " --module-path " module-path
" " (lux-command project <mode> program-dependencies source-paths))))
compile-path (str "release " module)