diff options
author | Eduardo Julian | 2021-01-12 17:31:48 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-01-12 17:31:48 -0400 |
commit | 5dbf134346424602b0104d1f749c1a9eac6f21af (patch) | |
tree | ac77441b9fcbc66a6f9ef1e5a55ccf0b1bcc996e /lux-lein/src | |
parent | 8aac0c573c29d2829242d66539a9e027d03ff8ec (diff) |
Compiler now shows suggestions when encountering unknown definitions.
Diffstat (limited to 'lux-lein/src')
-rw-r--r-- | lux-lein/src/leiningen/lux/utils.clj | 21 |
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) |