Tools: build_log_message_documentation.sh: compress log message documentation files
This commit is contained in:
parent
5ea1fde6ee
commit
466d61a881
@ -20,6 +20,8 @@ generate_log_message_documentation() {
|
||||
VEHICLE_DIR="$DIR/$VEHICLE"
|
||||
mkdir -p "$VEHICLE_DIR"
|
||||
/bin/cp LogMessages.* "$VEHICLE_DIR/"
|
||||
gzip -9 <"$VEHICLE_DIR"/LogMessages.xml >"$VEHICLE_DIR"/LogMessages.xml.gz.new && mv "$VEHICLE_DIR"/LogMessages.xml.gz.new "$VEHICLE_DIR"/LogMessages.xml.gz
|
||||
xz -e <"$VEHICLE_DIR"/LogMessages.xml >"$VEHICLE_DIR"/LogMessages.xml.xz.new && mv "$VEHICLE_DIR"/LogMessages.xml.xz.new "$VEHICLE_DIR"/LogMessages.xml.xz
|
||||
}
|
||||
|
||||
for vehicle in Rover Plane Copter Tracker; do
|
||||
|
Loading…
Reference in New Issue
Block a user