mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 20:47:46 +02:00
ci(gitlabci): add easy-coding-standard check for code-style + fix quality scripts
This commit is contained in:
parent
aa1612342e
commit
6802bee0db
8 changed files with 59 additions and 51 deletions
12
scripts/bundle-prepare.sh
Normal file
12
scripts/bundle-prepare.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue