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

9 lines
219 B
Bash
Raw Normal View History

#!/bin/sh
echo "Combining LFS hash files into one hash, this can be used to cache LFS files"
2021-07-12 22:53:22 +00:00
git lfs ls-files -l | cut -d' ' -f1 | sort > $1/.lfs-assets-id
2021-07-12 22:36:40 +00:00
echo ' '
echo 'combined file:'
2021-07-12 22:53:22 +00:00
cat $1/.lfs-assets-id
2021-07-12 22:36:40 +00:00
echo ' '