Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions clojure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ else
here="$PWD"
there=$(mktemp -d -t mytempdir.XXXXXX)

# copy any relevant file to the temporary folder
files_to_copy=( ".tool-versions" # asdf runtime versions configuration
)
for file_to_copy in $files_to_copy; do
if [ -e "$file_to_copy" ]; then
cp "$file_to_copy" "$there"
fi
done

# don't let local deps.edn files interfere:
cd "$there"

Expand Down