Locales should be compiled before precompiling assets
This commit is contained in:
parent
142716c02b
commit
24f4a7496e
1 changed files with 6 additions and 6 deletions
12
debian/rake-tasks.sh
vendored
12
debian/rake-tasks.sh
vendored
|
@ -34,13 +34,13 @@ runuser -u ${gitlab_user} -- sh -c 'npm install npm'
|
|||
runuser -u ${gitlab_user} -- sh -c 'node_modules/.bin/npm install'
|
||||
runuser -u ${gitlab_user} -- sh -c 'npm i document-register-element@1.3.0'
|
||||
|
||||
echo "Webpacking..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
|
||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack-bundle-analyzer'
|
||||
runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
|
||||
echo "Precompiling locales..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake gettext:po_to_json'
|
||||
|
||||
echo "Precompiling assets..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
|
||||
|
||||
echo "Precompiling locales..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake gettext:po_to_json'
|
||||
echo "Webpacking..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
|
||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack-bundle-analyzer'
|
||||
runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
|
||||
|
|
Loading…
Reference in a new issue