Upgrade deps, note use of upstream Clojure
This commit is contained in:
parent
08585f7fca
commit
dc89a21839
4 changed files with 10 additions and 9 deletions
2
bin/dev
2
bin/dev
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Run the program without building it
|
# Run the program without building it
|
||||||
clojure -M -m core "$@"
|
clojure -M:dev "$@"
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
(defn uber [_]
|
(defn uber [_]
|
||||||
(clean nil)
|
(clean nil)
|
||||||
(b/copy-dir {:src-dirs ["src" "resources"]
|
|
||||||
:target-dir class-dir})
|
|
||||||
(b/copy-dir {:src-dirs ["src" "resources"]
|
(b/copy-dir {:src-dirs ["src" "resources"]
|
||||||
:target-dir class-dir})
|
:target-dir class-dir})
|
||||||
(b/compile-clj {:basis @basis
|
(b/compile-clj {:basis @basis
|
||||||
|
|
|
||||||
12
deps.edn
12
deps.edn
|
|
@ -1,10 +1,12 @@
|
||||||
{:paths ["src" "resources" "private"] ;; Private is not included in the build
|
{:paths ["src" "resources" "private"] ;; Private is not included in the build
|
||||||
:deps {
|
:deps {
|
||||||
org.clojure/clojure {:mvn/version "1.11.1"}
|
;; Note that the clojure version below will be installed from upstream
|
||||||
org.clojure/data.csv {:mvn/version "1.0.1"}
|
;; rather than using the system version.
|
||||||
org.clojure/tools.cli {:mvn/version "1.1.230"}}
|
org.clojure/clojure {:mvn/version "1.12.4"}
|
||||||
|
org.clojure/data.csv {:mvn/version "1.1.1"}
|
||||||
|
org.clojure/tools.cli {:mvn/version "1.3.250"}}
|
||||||
:aliases
|
:aliases
|
||||||
{:dev {:extra-deps {lambdaisland/deep-diff2 {:mvn/version "2.10.211"}}
|
{:dev {:extra-deps {lambdaisland/deep-diff2 {:mvn/version "2.12.219"}}
|
||||||
:main-opts ["-m" "core"]
|
:main-opts ["-m" "core"]
|
||||||
;; Saves ~ 1 second of startup time - 1.5 sec on my laptop. After
|
;; Saves ~ 1 second of startup time - 1.5 sec on my laptop. After
|
||||||
;; building an uberjar and running with these options, it drops to about
|
;; building an uberjar and running with these options, it drops to about
|
||||||
|
|
@ -13,5 +15,5 @@
|
||||||
:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
|
:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
|
||||||
:main-opts ["-m" "kaocha.runner"]}
|
:main-opts ["-m" "kaocha.runner"]}
|
||||||
;; Run with clj -T:build function-in-build
|
;; Run with clj -T:build function-in-build
|
||||||
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.9.6"}}
|
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.10.12"}}
|
||||||
:ns-default build}}}
|
:ns-default build}}}
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,10 @@
|
||||||
;; develop/build the program. Use it with `guix shell --manifest=manifest.scm`.
|
;; develop/build the program. Use it with `guix shell --manifest=manifest.scm`.
|
||||||
(specifications->manifest
|
(specifications->manifest
|
||||||
(list
|
(list
|
||||||
;; No issues running this OpenJDK 21 program on Debian Stable (OpenJDK 17).
|
;; No issues running this OpenJDK 21 program on Debian Bookworm (OpenJDK 17).
|
||||||
"openjdk@21:jdk"
|
"openjdk@21:jdk"
|
||||||
"clojure-tools"
|
"clojure-tools"
|
||||||
|
"rlwrap"
|
||||||
"clj-kondo"
|
"clj-kondo"
|
||||||
"beancount"
|
"beancount"
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue