From 0dd370e6b848af4ebe0bf389b3153dbbdbb83694 Mon Sep 17 00:00:00 2001 From: Garam Kim <30666186+garam-kim1@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:27:01 +0900 Subject: [PATCH] Update tree_sitter_maker.yml --- .github/workflows/tree_sitter_maker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tree_sitter_maker.yml b/.github/workflows/tree_sitter_maker.yml index 7edb4f4..35fd320 100644 --- a/.github/workflows/tree_sitter_maker.yml +++ b/.github/workflows/tree_sitter_maker.yml @@ -51,7 +51,12 @@ jobs: find . -type f -name '*python*' -exec bash -c 'mv "$0" "${0//python/mojo}"' {} \; find . -type f -name '*Python*' -exec bash -c 'mv "$0" "${0//Python/Mojo}"' {} \; find . -type f -name '*PYTHON*' -exec bash -c 'mv "$0" "${0//PYTHON/MOJO}"' {} \; - + + find . -depth -type d -name '*python*' -execdir bash -c 'mv "$1" "${1//python/mojo}"' bash {} \; + find . -depth -type d -name '*python*' -execdir bash -c 'mv "$1" "${1//Python/Mojo}"' bash {} \; + find . -depth -type d -name '*python*' -execdir bash -c 'mv "$1" "${1//PYTHON/MOJO}"' bash {} \; + mv bindings/mojo bindings/python + - name: Restore backups run: | mkdir -p .github/workflows