nc-setup add command build for custom app forms
parent
b00fefe575
commit
9fb4505abf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue