unity-builder/dist/remote-builder/combineLFSHash.sh

10 lines
217 B
Bash
Executable File

#!/bin/sh
echo "Combining LFS hash files into one hash, this can be used to cache LFS files"
git lfs ls-files -l | cut -d' ' -f1 | sort > $1/lfsSum.txt
echo ' '
ls $1
echo 'combined file:'
cat $1/lfsSum.txt
echo ' '