ci(gitlabci): add easy-coding-standard check for code-style + fix quality scripts

This commit is contained in:
Yassine Doghri 2021-05-20 11:02:08 +00:00
commit 6802bee0db
No known key found for this signature in database
GPG key ID: 3E7F89498B960C9F
8 changed files with 59 additions and 51 deletions

12
scripts/bundle-prepare.sh Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# delete possibly installed git hooks because captainhooks (dev dependency)
# isn't included in the production dependencies
rm -rf ./.git/hooks
# install only dev dependencies using the --no-dev option
php composer.phar install --no-dev --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
# install js dependencies and build all production UI assets
npm install
npm run build