feat(build scripts): skip .history folder when building UI files
This commit is contained in:
parent
9ec4687e49
commit
92bd1b16ef
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ import os
|
||||||
|
|
||||||
ui_path = os.path.dirname(os.path.abspath(__file__))
|
ui_path = os.path.dirname(os.path.abspath(__file__))
|
||||||
for root, folders, files in os.walk(ui_path):
|
for root, folders, files in os.walk(ui_path):
|
||||||
|
if ".history" in folders:
|
||||||
|
folders.remove(".history")
|
||||||
for file in files:
|
for file in files:
|
||||||
file = os.path.join(root, file)
|
file = os.path.join(root, file)
|
||||||
outfile, ext = os.path.splitext(file)
|
outfile, ext = os.path.splitext(file)
|
||||||
|
|
Loading…
Reference in a new issue