Skip to content

Commit f376d50

Browse files
committed
[scripts] gen template: ignore .vs build artifacts
when generating a new app from a given app template, ignore `.vs` directory, as it contains build artifacts for visual studio builds.
1 parent 27fc8e7 commit f376d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def to_titled_camel_case(snake_str):
186186
# Create a copy of the template in our target directory.
187187
# While copying template_name is substituted for project_name
188188
copy_tree(template_source_dir, app_dir, template_name, project_name,
189-
ignore=shutil.ignore_patterns('CMakeLists.txt.user', 'build'),
189+
ignore=shutil.ignore_patterns('CMakeLists.txt.user', 'build', '.vs'),
190190
replacements=replacements)
191191

192192
# process_directory_recursively(app_dir, replacements)

0 commit comments

Comments
 (0)