Skip to content

Commit 838af89

Browse files
tuchovemv
authored andcommitted
Make clojure.shasdf-compatible
Fixes #3507 Closes #3508
1 parent 42c6441 commit 838af89

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

clojure.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ else
2424
here="$PWD"
2525
there=$(mktemp -d -t mytempdir.XXXXXX)
2626

27+
# copy any relevant file to the temporary folder
28+
files_to_copy=( ".tool-versions" # asdf runtime versions configuration
29+
)
30+
for file_to_copy in "${files_to_copy[@]}"; do
31+
if [ -e "$file_to_copy" ]; then
32+
cp "$file_to_copy" "$there"
33+
fi
34+
done
35+
2736
# don't let local deps.edn files interfere:
2837
cd "$there"
2938

0 commit comments

Comments
 (0)