diff --git a/run-build-functions.sh b/run-build-functions.sh index 5d84faf6..74c7e9f4 100755 --- a/run-build-functions.sh +++ b/run-build-functions.sh @@ -715,6 +715,14 @@ install_dependencies() { fi fi + # Clojure CLI + if [ -f deps.edn ] + then + restore_home_cache ".m2" "maven dependencies" + restore_home_cache ".gitlibs" "clojure git dependencies" + restore_cwd_cache ".cpcache" "clojure classpath" + fi + # Hugo if [ -n "$HUGO_VERSION" ] then @@ -802,6 +810,7 @@ cache_artifacts() { cache_cwd_directory ".venv" "python virtualenv" cache_cwd_directory ".build" "swift build" + cache_cwd_directory ".cpcache" "clojure classpath" cache_cwd_directory ".netlify/plugins" "build plugins" cache_cwd_directory ".netlify/rust-functions-cache" "Rust functions" @@ -818,6 +827,7 @@ cache_artifacts() { cache_home_directory ".emacs.d" "emacs cache" cache_home_directory ".m2" "maven dependencies" cache_home_directory ".boot" "boot dependencies" + cache_home_directory ".gitlibs" "clojure git dependencies" cache_home_directory ".composer" "composer dependencies" cache_home_directory ".homebrew-cache", "homebrew cache" cache_home_directory ".rustup" "rust rustup cache" @@ -1039,4 +1049,3 @@ install_go() { fi } -