Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

Commit 62f8330

Browse files
committed
bump Clojure CLI version
1 parent 1b6aa8a commit 62f8330

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

languages/clojure.toml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ packages = [
1010
"openjdk-11-jre-headless"
1111
]
1212
setup = [
13-
"wget https://download.clojure.org/install/linux-install-1.10.1.478.sh",
14-
"chmod +x linux-install-1.10.1.478.sh",
15-
"./linux-install-1.10.1.478.sh",
16-
"rm linux-install-1.10.1.478.sh",
13+
"wget https://download.clojure.org/install/linux-install-1.10.1.536.sh",
14+
"chmod +x linux-install-1.10.1.536.sh",
15+
"./linux-install-1.10.1.536.sh",
16+
"rm linux-install-1.10.1.536.sh",
1717

18-
# this ensures that we cache the maven deps in the image ($XDG_CONFIG_HOME)
19-
# https://clojure.org/reference/deps_and_cli#_command_line_tools
20-
# pretty ridiculous but what else can you do?
21-
"clojure -Sverbose -Sdeps '{:mvn/local-repo \"/home/runner/.m2/repository\"}' --eval ''",
22-
"mv /root/.m2/repository $XDG_CONFIG_HOME/clojure/repository && rm -rf /root/.m2",
18+
# Fetch Maven artifacts eagerly in order to cache them in the container image.
19+
# (https://clojure.org/reference/deps_and_cli#_command_line_tools)
20+
"""clojure -Sverbose \
21+
-Sdeps '{:deps {org.clojure/tools.namespace {:mvn/version \"1.0.0\"}} :mvn/local-repo \"/home/runner/.m2/repository\"}' \
22+
--eval ''"""
2323
]
2424
versionCommand = [
2525
"clojure",
26-
"-e",
26+
"--eval",
2727
"(clojure-version)"
2828
]
2929

0 commit comments

Comments
 (0)