mirror of https://github.com/arendst/Tasmota.git
Small changes to berry_custom to better keep the local repository clean (#21491)
* keep berry_custom clean with regards to GIT * keep .keep
This commit is contained in:
parent
c161f63c9a
commit
688f3ffb19
|
@ -1 +1,4 @@
|
|||
_temp*
|
||||
|
||||
solidify/*
|
||||
embedded/*
|
||||
|
|
|
@ -39,9 +39,11 @@ def cleanFolder():
|
|||
os.remove(join(BERRY_SOLIDIFY_DIR,"src",file))
|
||||
tempfiles = [f for f in os.listdir(join(BERRY_SOLIDIFY_DIR,"src","embedded")) if ".gitignore" not in f]
|
||||
for file in tempfiles:
|
||||
if file != ".keep":
|
||||
os.remove(join(BERRY_SOLIDIFY_DIR,"src","embedded",file))
|
||||
tempfiles = [f for f in os.listdir(join(BERRY_SOLIDIFY_DIR,"src","solidify")) if ".gitignore" not in f]
|
||||
for file in tempfiles:
|
||||
if file != ".keep":
|
||||
os.remove(join(BERRY_SOLIDIFY_DIR,"src","solidify",file))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue