File tree 3 files changed +8
-3
lines changed
main/clojure/clojure/tools
test/clojure/clojure/tools/deps/script
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ Changelog
3
3
4
4
* Also see [ Tools and installer changelog] ( https://github.com/clojure/brew-install/blob/1.12.0/CHANGELOG.md ) *
5
5
6
- * next on Mar 5, 2025
6
+ * next
7
+ * Fix computation of tool argmap when both aliases and -T are used
8
+ * 0.22.1507 on Mar 5, 2025
7
9
* Better error on missing -Sdeps file
8
10
* 0.22.1503 on Mar 5, 2025
9
11
* Error on missing -Sdeps file
Original file line number Diff line number Diff line change 851
851
argmap-data (->> aliases
852
852
(remove nil?)
853
853
(map #(get alias-data %)))
854
- argmap (apply merge-alias-maps (conj argmap-data args))
854
+ argmap (apply merge-alias-maps (concat argmap-data [ args] ))
855
855
856
856
project-tooled-edn (tool project-edn argmap)
857
857
merged-edn (merge-edns [root-edn user-edn project-tooled-edn extra-edn])
953
953
:mvn/repos (merge mvn/standard-repos {" datomic-cloud" {:url " s3://datomic-releases-1fc2183a/maven/releases" }})}
954
954
nil )
955
955
956
+ (create-basis
957
+ {:user {} :project {} :aliases [:deps ] :args {:ns-default 'foo}})
958
+
956
959
(print-tree
957
960
(resolve-deps {:deps {'org.clojure/clojure {:mvn/version " 1.8.0" }
958
961
'org.clojure/core.memoize {:mvn/version " 0.5.8" }}
Original file line number Diff line number Diff line change 245
245
paths (filter #(get-in classpath [% :path-key ]) classpath-roots)]
246
246
; ; tool deps, not project deps
247
247
(is (not (contains? libs 'cheshire/cheshire)))
248
- (is (= (map #(.getCanonicalPath (jio/file %)) [" . " " x " " y " ])
248
+ (is (= (map #(.getCanonicalPath (jio/file %)) [" x " " y " " . " ])
249
249
(map #(.getCanonicalPath (jio/file %)) paths)))))
250
250
251
251
(deftest config-data
You can’t perform that action at this time.
0 commit comments