Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed May 1, 2024
2 parents 5daff1b + 48bd818 commit df59e82
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ jobs:
test:
strategy:
matrix:
java-version: ["8", "11", "17", "21"]
java-version: ["11", "17", "21"]
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Prepare java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: ${{ matrix.java-version }}

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@12.1
uses: DeLaGuardo/setup-clojure@12.5
with:
cli: 1.11.1.1413
cli: latest

- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ Changelog

* next
* compile-clj - add simple spec for :basis arg
* v0.10.1 on Apr 28, 2024
* compile-clj - add required check on :basis arg
* v0.10.1 5e3b8f3 on Apr 28, 2024
* Update deps to latest
* compile-clj - validate that basis is non-nil
* v0.10.0 3a2c484 on Mar 8, 2024
* Updated deps to latest tools.deps and Clojure 1.11.2
* v0.9.6 8e78bcc on Oct 6, 2023
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Latest release:
As a git dep:

```clojure
io.github.clojure/tools.build {:git/tag "v0.10.0" :git/sha "3a2c484"}
io.github.clojure/tools.build {:git/tag "v0.10.1" :git/sha "5e3b8f3"}
```

As a Maven dep:

```clojure
io.github.clojure/tools.build {:mvn/version "0.10.0"}
io.github.clojure/tools.build {:mvn/version "0.10.1"}
```

# Developer Information
Expand Down
6 changes: 3 additions & 3 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{:paths ["src/main/clojure" "src/main/resources"]

:deps
{org.clojure/clojure {:mvn/version "1.11.2"}
org.clojure/tools.deps {:mvn/version "0.19.1411"}
{org.clojure/clojure {:mvn/version "1.11.3"}
org.clojure/tools.deps {:mvn/version "0.19.1428"}
;org.clojure/tools.deps {:git/url "https://github.com/clojure/tools.deps.git"
; :git/sha "459222ca6e4fce91cf5838435589a028cedbc784"}
org.clojure/tools.namespace {:mvn/version "1.5.0"}
Expand Down Expand Up @@ -32,7 +32,7 @@

;; Lint the source
;; clj -M:lint
:lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2023.09.07"}}
:lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2024.03.13"}}
:main-opts ["-m" "clj-kondo.main" "--lint" "src"]}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.clojure</groupId>
<artifactId>tools.build</artifactId>
<version>0.10.1-SNAPSHOT</version>
<version>0.10.2-SNAPSHOT</version>
<name>tools.build</name>

<parent>
Expand Down
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/tools/build/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
Returns nil."
[params]
(assert-required "compile-clj" params [:class-dir])
(assert-required "compile-clj" params [:basis :class-dir])
(assert-specs "compile-clj" params
:class-dir ::specs/path
:src-dirs ::specs/paths
Expand Down
4 changes: 2 additions & 2 deletions src/main/clojure/clojure/tools/build/util/file.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:or {dirs false
collect (constantly true)}}]
(when (.exists root)
(loop [queue (conj (PersistentQueue/EMPTY) root)
(loop [queue (conj PersistentQueue/EMPTY root)
collected []]
(let [^File file (peek queue)]
(if file
Expand Down Expand Up @@ -80,7 +80,7 @@
(when (.exists src-dir)
(let [root (.toPath src-dir)
target (.toPath target-dir)]
(loop [queue (conj (PersistentQueue/EMPTY) src-dir)]
(loop [queue (conj PersistentQueue/EMPTY src-dir)]
(let [^File file (peek queue)]
(when file
(let [path (.toPath file)
Expand Down

0 comments on commit df59e82

Please sign in to comment.