This repository was archived by the owner on May 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,20 @@ packages = [
1010 " openjdk-11-jre-headless"
1111]
1212setup = [
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]
2424versionCommand = [
2525 " clojure" ,
26- " -e " ,
26+ " --eval " ,
2727 " (clojure-version)"
2828]
2929
You can’t perform that action at this time.
0 commit comments