mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 14:27:35 +08:00
ROMFS: Strip README files
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user