Tools: scripts: copy param_parse.py JSON output as part of build_parameters.sh
This will populate https://autotest.ardupilot.org/Parameters/ArduCopter/ with the json output
This commit is contained in:
parent
dfa373c1d7
commit
7ebf45616d
@ -28,6 +28,13 @@ generate_parameters() {
|
||||
if [ -e "ParametersLatex.rst" ]; then
|
||||
/bin/cp ParametersLatex.rst "$VEHICLE_PARAMS_DIR/"
|
||||
fi
|
||||
F="apm.pdef.json"
|
||||
if [ -e "$F" ]; then
|
||||
/bin/cp "$F" "$VEHICLE_PARAMS_DIR/"
|
||||
pushd "$VEHICLE_PARAMS_DIR"
|
||||
xz -e <"$F" >"$F.xz.new" && mv "$F.xz.new" "$F.xz"
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
generate_sitl_parameters() {
|
||||
|
Loading…
Reference in New Issue
Block a user