mirror of
https://github.com/arendst/Tasmota.git
synced 2026-07-27 20:05:46 +00:00
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:
@@ -1 +1,4 @@
|
||||
_temp*
|
||||
_temp*
|
||||
|
||||
solidify/*
|
||||
embedded/*
|
||||
|
||||
@@ -39,10 +39,12 @@ 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:
|
||||
os.remove(join(BERRY_SOLIDIFY_DIR,"src","embedded",file))
|
||||
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:
|
||||
os.remove(join(BERRY_SOLIDIFY_DIR,"src","solidify",file))
|
||||
if file != ".keep":
|
||||
os.remove(join(BERRY_SOLIDIFY_DIR,"src","solidify",file))
|
||||
|
||||
|
||||
def addEntryToModtab(source):
|
||||
|
||||
Reference in New Issue
Block a user