mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
9 lines
311 B
Bash
Executable File
9 lines
311 B
Bash
Executable File
for file in $(git log --diff-filter=D --name-only --format="" | grep -E "oracle.*\.ts$"); do
|
|
commit=$(git rev-list -n 1 HEAD -- "$file")
|
|
if [ ! -z "$commit" ]; then
|
|
git checkout "$commit~1" -- "$file"
|
|
echo "restore: $file"
|
|
fi
|
|
done
|
|
rsync -av packages/xrpl/ packages/xahau/ && rm -rf packages/xrpl/
|