File tree Expand file tree Collapse file tree 7 files changed +16
-15
lines changed
src/main/clojure/clojure/tools/build Expand file tree Collapse file tree 7 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 5
5
test :
6
6
strategy :
7
7
matrix :
8
- java-version : ["8", " 11", "17", "21"]
8
+ java-version : ["11", "17", "21"]
9
9
os : [ubuntu-latest, macOS-latest, windows-latest]
10
10
runs-on : ${{ matrix.os }}
11
11
steps :
12
12
- name : Prepare java
13
- uses : actions/setup-java@v3
13
+ uses : actions/setup-java@v4
14
14
with :
15
15
distribution : " adopt"
16
16
java-version : ${{ matrix.java-version }}
17
17
18
18
- name : Setup Clojure
19
- uses : DeLaGuardo/setup-clojure@12.1
19
+ uses : DeLaGuardo/setup-clojure@12.5
20
20
with :
21
- cli : 1.11.1.1413
21
+ cli : latest
22
22
23
23
- name : Checkout
24
24
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ Changelog
3
3
4
4
* next
5
5
* 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
8
9
* v0.10.0 3a2c484 on Mar 8, 2024
9
10
* Updated deps to latest tools.deps and Clojure 1.11.2
10
11
* v0.9.6 8e78bcc on Oct 6, 2023
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ Latest release:
17
17
As a git dep:
18
18
19
19
``` 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 " }
21
21
```
22
22
23
23
As a Maven dep:
24
24
25
25
``` clojure
26
- io.github.clojure/tools.build {:mvn/version " 0.10.0 " }
26
+ io.github.clojure/tools.build {:mvn/version " 0.10.1 " }
27
27
```
28
28
29
29
# Developer Information
Original file line number Diff line number Diff line change 1
1
{:paths [" src/main/clojure" " src/main/resources" ]
2
2
3
3
: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 " }
6
6
; org.clojure/tools.deps {:git/url "https://github.com/clojure/tools.deps.git"
7
7
; :git/sha "459222ca6e4fce91cf5838435589a028cedbc784"}
8
8
org.clojure/tools.namespace {:mvn/version " 1.5.0" }
32
32
33
33
; ; Lint the source
34
34
; ; 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 " }}
36
36
:main-opts [" -m" " clj-kondo.main" " --lint" " src" ]}
37
37
}
38
38
}
Original file line number Diff line number Diff line change 2
2
<modelVersion >4.0.0</modelVersion >
3
3
<groupId >io.github.clojure</groupId >
4
4
<artifactId >tools.build</artifactId >
5
- <version >0.10.1 -SNAPSHOT</version >
5
+ <version >0.10.2 -SNAPSHOT</version >
6
6
<name >tools.build</name >
7
7
8
8
<parent >
Original file line number Diff line number Diff line change 309
309
310
310
Returns nil."
311
311
[params]
312
- (assert-required " compile-clj" params [:class-dir ])
312
+ (assert-required " compile-clj" params [:basis : class-dir ])
313
313
(assert-specs " compile-clj" params
314
314
:class-dir ::specs/path
315
315
:src-dirs ::specs/paths
Original file line number Diff line number Diff line change 26
26
:or {dirs false
27
27
collect (constantly true )}}]
28
28
(when (.exists root)
29
- (loop [queue (conj ( PersistentQueue/EMPTY ) root)
29
+ (loop [queue (conj PersistentQueue/EMPTY root)
30
30
collected []]
31
31
(let [^File file (peek queue)]
32
32
(if file
80
80
(when (.exists src-dir)
81
81
(let [root (.toPath src-dir)
82
82
target (.toPath target-dir)]
83
- (loop [queue (conj ( PersistentQueue/EMPTY ) src-dir)]
83
+ (loop [queue (conj PersistentQueue/EMPTY src-dir)]
84
84
(let [^File file (peek queue)]
85
85
(when file
86
86
(let [path (.toPath file)
You can’t perform that action at this time.
0 commit comments