Skip to content

Commit

Permalink
Merge pull request #85 from suzuryg/chore/exclude-jetbrans-annotations
Browse files Browse the repository at this point in the history
chore: Exclude JetbrainsAnnotations in Extenject to suppress warnings
  • Loading branch information
suzuryg committed Dec 12, 2023
2 parents dc729d8 + 44ca80c commit 75d41aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions External/package-bundler/package_bunder.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ def package_bundler(src_dir, dst_dir, config, symlink_logger, ignored_hierarchy_
elif not any(file.endswith(ext) for ext in config.target_extensions):
ignored_file_logger.info(f'Ignored file: {root}/{file}')
continue
elif any(file == to_ignore for to_ignore in config.ignore_files):
ignored_file_logger.info(f'Ignored file: {root}/{file}')
continue

create_symlink(Path(root) / file, dst_dir / file, symlink_logger)

Expand Down
1 change: 1 addition & 0 deletions External/package-bundler/setting_extenject.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
src_dir = Path('../Extenject/UnityProject/Assets/Plugins/Zenject/Source')
dst_dir = Path('../../Packages/jp.suzuryg.face-emo/Ext/Zenject/a')
ignore_dirs = [Path('Editor'),]
ignore_files = []
target_extensions = ['.cs',]
gitignore_content = '''*.cs
*.meta
Expand Down
1 change: 1 addition & 0 deletions External/package-bundler/setting_extenject_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
src_dir = Path('../Extenject/AssemblyBuild/Zenject-usage')
dst_dir = Path('../../Packages/jp.suzuryg.face-emo/Ext/Zenject/a/u')
ignore_dirs = []
ignore_files = ['JetbrainsAnnotations.cs']
target_extensions = ['.cs',]
gitignore_content = '''*.cs
*.meta
Expand Down
1 change: 1 addition & 0 deletions External/package-bundler/setting_unirx.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
src_dir = Path('../UniRx/Assets/Plugins/UniRx/Scripts')
dst_dir = Path('../../Packages/jp.suzuryg.face-emo/Ext/UniRx/Runtime')
ignore_dirs = []
ignore_files = []
target_extensions = ['.cs',]
gitignore_content = '''*.cs
*.meta
Expand Down

0 comments on commit 75d41aa

Please sign in to comment.