mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 14:53:35 +08:00
ROMFS: Strip README files
This commit is contained in:
@@ -68,6 +68,11 @@ def main():
|
|||||||
os.remove(file_path)
|
os.remove(file_path)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# delete documentation
|
||||||
|
if file.startswith("README"):
|
||||||
|
os.remove(file_path)
|
||||||
|
continue
|
||||||
|
|
||||||
# only prune text files
|
# only prune text files
|
||||||
if ".zip" in file or ".bin" in file or ".swp" in file \
|
if ".zip" in file or ".bin" in file or ".swp" in file \
|
||||||
or ".data" in file or ".DS_Store" in file:
|
or ".data" in file or ".DS_Store" in file:
|
||||||
|
|||||||
Reference in New Issue
Block a user