Skip to content

Commit

Permalink
Small changes to berry_custom to better keep the local repository cle…
Browse files Browse the repository at this point in the history
…an (#21491)

* keep berry_custom clean with regards to GIT

* keep .keep
  • Loading branch information
Staars committed May 25, 2024
1 parent c161f63 commit 688f3ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/libesp32/berry_custom/src/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
_temp*
_temp*

solidify/*
embedded/*
6 changes: 4 additions & 2 deletions pio-tools/solidify-from-url.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 688f3ff

Please sign in to comment.