소스 검색

Catch the iOS demos when renaming API functions

Sam Lantinga 2 년 전
부모
커밋
32fad06a93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      build-scripts/rename_api.py

+ 1 - 1
build-scripts/rename_api.py

@@ -39,7 +39,7 @@ def main():
     # Replace the symbol in source code and documentation
     replacements = { args.oldname: args.newname }
     regex = create_regex_from_replacements(replacements)
-    for dir in ['src', 'test', 'include', 'docs']:
+    for dir in ["src", "test", "include", "docs", "Xcode-iOS/Demos"]:
         replace_symbols_in_path(SDL_ROOT / dir, regex, replacements)
 
     add_symbol_to_oldnames(header.name, args.oldname, args.newname)