-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup Folders after codegen (#33891)
Summary: Pull Request resolved: #33891 This diff adds a function to clean up folders and empty files (if any) after the codegen runs in the OSS. To align how iOS and Android behave in the codegen, we now have to preemptively create folders that we may not need later. Thanks to this function, we recursively the folders in the codegen and we delete them if they are empty. ## Changelog [iOS][Added] - Add function to cleanup codegen folders Reviewed By: cortinico Differential Revision: D36594999 fbshipit-source-id: 904aa2442c0d9621b7ec77c31f7be9daa4e7b7e1
- Loading branch information
1 parent
5f3c5aa
commit 7169288
Showing
2 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters