From 75102dcfa7c2c0afd32cb5bf5ac012df2db6a7a1 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 5 Jan 2021 07:55:22 -0400 Subject: Added lexically-scoped templates. --- lux-lein/src/leiningen/lux/utils.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lux-lein/src') 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 @@ -118,10 +118,14 @@ 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 + (str (java-command project) " -cp " class-path " --module-path " module-path " " (lux-command project program-dependencies source-paths)))) compile-path (str "release " module) -- cgit v1.2.3