aboutsummaryrefslogtreecommitdiff
path: root/lux-lein/src
diff options
context:
space:
mode:
Diffstat (limited to 'lux-lein/src')
-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)