File tree Expand file tree Collapse file tree
src/main/clojure/clojure/tools/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 test :
66 strategy :
77 matrix :
8- java-version : ["8", " 11", "17", "21"]
8+ java-version : ["11", "17", "21"]
99 os : [ubuntu-latest, macOS-latest, windows-latest]
1010 runs-on : ${{ matrix.os }}
1111 steps :
1212 - name : Prepare java
13- uses : actions/setup-java@v3
13+ uses : actions/setup-java@v4
1414 with :
1515 distribution : " adopt"
1616 java-version : ${{ matrix.java-version }}
1717
1818 - name : Setup Clojure
19- uses : DeLaGuardo/setup-clojure@12.1
19+ uses : DeLaGuardo/setup-clojure@12.5
2020 with :
21- cli : 1.11.1.1413
21+ cli : latest
2222
2323 - name : Checkout
2424 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ Changelog
33
44* next
55 * compile-clj - add simple spec for : basis arg
6- * v0.10.1 on Apr 28, 2024
7- * compile-clj - add required check on : basis arg
6+ * v0.10.1 5e3b8f3 on Apr 28, 2024
7+ * Update deps to latest
8+ * compile-clj - validate that basis is non-nil
89* v0.10.0 3a2c484 on Mar 8, 2024
910 * Updated deps to latest tools.deps and Clojure 1.11.2
1011* v0.9.6 8e78bcc on Oct 6, 2023
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ Latest release:
1717As a git dep:
1818
1919``` clojure
20- io.github.clojure/tools.build {:git/tag " v0.10.0 " :git/sha " 3a2c484 " }
20+ io.github.clojure/tools.build {:git/tag " v0.10.1 " :git/sha " 5e3b8f3 " }
2121```
2222
2323As a Maven dep:
2424
2525``` clojure
26- io.github.clojure/tools.build {:mvn/version " 0.10.0 " }
26+ io.github.clojure/tools.build {:mvn/version " 0.10.1 " }
2727```
2828
2929# Developer Information
Original file line number Diff line number Diff line change 11{:paths [" src/main/clojure" " src/main/resources" ]
22
33 :deps
4- {org.clojure/clojure {:mvn/version " 1.11.2 " }
5- org.clojure/tools.deps {:mvn/version " 0.19.1411 " }
4+ {org.clojure/clojure {:mvn/version " 1.11.3 " }
5+ org.clojure/tools.deps {:mvn/version " 0.19.1428 " }
66 ; org.clojure/tools.deps {:git/url "https://github.com/clojure/tools.deps.git"
77 ; :git/sha "459222ca6e4fce91cf5838435589a028cedbc784"}
88 org.clojure/tools.namespace {:mvn/version " 1.5.0" }
3232
3333 ; ; Lint the source
3434 ; ; clj -M:lint
35- :lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version " 2023.09.07 " }}
35+ :lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version " 2024.03.13 " }}
3636 :main-opts [" -m" " clj-kondo.main" " --lint" " src" ]}
3737 }
3838}
Original file line number Diff line number Diff line change 22 <modelVersion >4.0.0</modelVersion >
33 <groupId >io.github.clojure</groupId >
44 <artifactId >tools.build</artifactId >
5- <version >0.10.1 -SNAPSHOT</version >
5+ <version >0.10.2 -SNAPSHOT</version >
66 <name >tools.build</name >
77
88 <parent >
Original file line number Diff line number Diff line change 309309
310310 Returns nil."
311311 [params]
312- (assert-required " compile-clj" params [:class-dir ])
312+ (assert-required " compile-clj" params [:basis : class-dir ])
313313 (assert-specs " compile-clj" params
314314 :class-dir ::specs/path
315315 :src-dirs ::specs/paths
Original file line number Diff line number Diff line change 2626 :or {dirs false
2727 collect (constantly true )}}]
2828 (when (.exists root)
29- (loop [queue (conj ( PersistentQueue/EMPTY ) root)
29+ (loop [queue (conj PersistentQueue/EMPTY root)
3030 collected []]
3131 (let [^File file (peek queue)]
3232 (if file
8080 (when (.exists src-dir)
8181 (let [root (.toPath src-dir)
8282 target (.toPath target-dir)]
83- (loop [queue (conj ( PersistentQueue/EMPTY ) src-dir)]
83+ (loop [queue (conj PersistentQueue/EMPTY src-dir)]
8484 (let [^File file (peek queue)]
8585 (when file
8686 (let [path (.toPath file)
You can’t perform that action at this time.
0 commit comments