Skip to content
Snippets Groups Projects
bundle-prepare.sh 417 B
Newer Older
#!/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