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.clj21
1 files changed, 11 insertions, 10 deletions
diff --git a/lux-lein/src/leiningen/lux/utils.clj b/lux-lein/src/leiningen/lux/utils.clj
index e2ec2c1ca..8aea46c44 100644
--- a/lux-lein/src/leiningen/lux/utils.clj
+++ b/lux-lein/src/leiningen/lux/utils.clj
@@ -116,16 +116,17 @@
deps
(list* stdlib-path deps)))
compiler-path (prepare-path (find-compiler-path raw-paths))
- class-path (->> compiler-dependencies
- (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 " --module-path " module-path
+ compiler-class-path (->> compiler-dependencies
+ (list* compiler-path)
+ (interpose java.io.File/pathSeparator)
+ (reduce str "")
+ sanitize-path)
+ program-class-path (->> program-dependencies
+ (interpose java.io.File/pathSeparator)
+ (reduce str "")
+ sanitize-path)]
+ (str (java-command project)
+ " -cp " (str compiler-class-path java.io.File/pathSeparator program-class-path)
" " (lux-command project <mode> program-dependencies source-paths))))
compile-path (str "release " module)