nc-setup add command build for custom app forms

main
elena 2023-06-07 14:26:51 +00:00
parent b00fefe575
commit 9fb4505abf
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ if [ "${FORMS_EXPECTED_HASH}" != "${FORMS_HASH}" ]; then
# Perform config / install # Perform config / install
npm --prefix "${FORMS_DIR}" install npm --prefix "${FORMS_DIR}" install
composer --ignore-platform-req=ext-dom -d"${FORMS_DIR}" install --no-dev -o composer --ignore-platform-req=ext-dom -d"${FORMS_DIR}" install --no-dev -o
# Generate build folder
npm run build --prefix "${FORMS_DIR}"
# Place hash marker # Place hash marker
cp /forms.hash "${FORMS_DIR}.hash" cp /forms.hash "${FORMS_DIR}.hash"
fi fi