From e5456808eaf89c211e69608dc5add81f3aef31fa Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 14 Jun 2023 22:06:00 +0200 Subject: [PATCH] Fix #104: print repl-aliases in -Sdescribe --- CHANGELOG.md | 4 ++++ src/borkdude/deps.clj | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d2b76d..a32fc74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ DEPS_CLJ_TOOLS_VERSION=1.11.1.1165 bb clojure [deps.clj](https://github.com/borkdude/deps.clj): a faithful port of the clojure CLI bash script to Clojure +## Unreleased + +- [#104](https://github.com/borkdude/deps.clj/issues/104): print repl-aliases in -Sdescribe + ## 1.11.1.1347 - Fix stale check for `.jar` files when `*dir*` is set diff --git a/src/borkdude/deps.clj b/src/borkdude/deps.clj index ea27d24..1b23c57 100755 --- a/src/borkdude/deps.clj +++ b/src/borkdude/deps.clj @@ -944,7 +944,7 @@ public class ClojureToolsDownloader { (:main-aliases cli-opts) (conj (str "-M" (:main-aliases cli-opts))) (:repl-aliases cli-opts) - (conj (str "-A" (str/join "" (:repl-aliases cli-opts)))) + (conj (str "-A" (str/join (:repl-aliases cli-opts)))) (:exec-aliases cli-opts) (conj (str "-X" (:exec-aliases cli-opts))) tool? @@ -1010,7 +1010,7 @@ public class ClojureToolsDownloader { [:force (boolean (:force cli-opts))] [:repro (boolean (:repro cli-opts))] [:main-aliases (str (:main-aliases cli-opts))] - [:all-aliases (str (:all-aliases cli-opts))]]) + [:repl-aliases (str/join (:repl-aliases cli-opts))]]) tree? (*exit-fn* {:exit 0}) (:trace cli-opts) (warn "Wrote trace.edn")