forked from Archive/PX4-Autopilot
ROMFS: Strip README files
This commit is contained in:
parent
6268cdc86a
commit
37edb43b60
|
@ -68,6 +68,11 @@ def main():
|
|||
os.remove(file_path)
|
||||
continue
|
||||
|
||||
# delete documentation
|
||||
if file.startswith("README"):
|
||||
os.remove(file_path)
|
||||
continue
|
||||
|
||||
# only prune text files
|
||||
if ".zip" in file or ".bin" in file or ".swp" in file \
|
||||
or ".data" in file or ".DS_Store" in file:
|
||||
|
|
Loading…
Reference in New Issue