You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
827 B
29 lines
827 B
#!/usr/bin/env bash
|
|
|
|
# Print commands and their arguments as they are executed.
|
|
set -x
|
|
# Exit immediately if a command exits with a non-zero status.
|
|
set -e
|
|
|
|
yarn --frozen-lockfile --ignore-scripts --har
|
|
|
|
# run each in subshell so directory change does not persist
|
|
# scripts can be any of:
|
|
# preinstall
|
|
# install
|
|
# postinstall
|
|
|
|
# for build
|
|
(cd node_modules/node-sass && yarn run postinstall)
|
|
(cd node_modules/optipng-bin && yarn run postinstall)
|
|
(cd node_modules/gifsicle && yarn run postinstall)
|
|
(cd node_modules/jpegtran-bin && yarn run postinstall)
|
|
|
|
# for test
|
|
(cd node_modules/scrypt && yarn run install)
|
|
(cd node_modules/weak && yarn run install)
|
|
(cd node_modules/chromedriver && yarn run install)
|
|
(cd node_modules/geckodriver && yarn run postinstall)
|
|
|
|
# for release
|
|
(cd node_modules/@sentry/cli && yarn run install)
|
|
|