Skip to content

Commit

Permalink
Update helper build script to include translation build step
Browse files Browse the repository at this point in the history
  • Loading branch information
ngm committed Nov 4, 2024
1 parent 8636e4c commit 986300e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/build-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ chown -R www-data node_modules # needed?
echo -e "\nDone."
fi

if [[ $ALL || $BUILD_TRANSLATIONS ]]; then
banner "Building translations"
php artisan lang:js --no-lib resources/js/translations.js
echo -e "\nDone."
fi

if [[ $ALL || $BUILD_ASSETS ]]; then
banner "Building assets"
NODE_OPTIONS=--max-old-space-size=8192
Expand Down

0 comments on commit 986300e

Please sign in to comment.