Skip to content
Snippets Groups Projects
Commit c0627ea2 authored by Ugo Albanese's avatar Ugo Albanese
Browse files

[NRRPLT-0000] When building, run process_model before building nrpBackendProxy.

copy-to-storage.sh creates and populates the folders on which nrpBackendProxy's
update_template_models script works.
parent aa3a88f5
No related branches found
No related tags found
No related merge requests found
......@@ -325,6 +325,7 @@ function process_models {
echo
echo "Copying the models from Models to nrpStorage/TEMPLATE_MODELS"
# to be run before "npm run $HBP/nrpProxyBackend/update_template_models" (see nrpProxyBackend build)
./copy-to-storage.sh || { echo ERROR; exit 1; }
}
......@@ -365,6 +366,8 @@ function nrp_build {
backup_storage
process_models # to be run before nrpProxyBackend build
if [ "$build_all" = "all" ]; then
build_gazebo_dependencies
build_gazebo
......@@ -407,14 +410,13 @@ function nrp_build {
grunt build || { echo GRUNT BUILD FAILED; exit 1; }
fi
if [ "$i" == "nrpBackendProxy" ]; then
npm run update_template_models
npm run update_template_models # to be run after $HBP/Models/copy-to-storage.sh (see process_models)
npm run refactor_storage
fi
unset VENV_CMD
done
build_gzweb
process_models
install_template_experiments_requirements
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment