Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: ignore post-install scripts #6393

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,28 @@ set -ev
ROOT_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && cd .. && pwd)"
cd $ROOT_DIR

printf 'Installing dependencies...\n'
yarn install --frozen-lockfile --ignore-scripts
printf '\n'

printf 'Building `lib-react-components`...\n'
yarn workspace @zooniverse/react-components install --frozen-lockfile
yarn workspace @zooniverse/react-components build
printf '\n'

printf 'Building `lib-content`...\n'
yarn workspace @zooniverse/content install --frozen-lockfile
yarn workspace @zooniverse/content build
printf '\n'

printf 'Building `lib-user`...\n'
yarn workspace @zooniverse/user install --frozen-lockfile
yarn workspace @zooniverse/user build
printf '\n'

printf 'Building `lib-subject-viewers`...\n'
yarn workspace @zooniverse/subject-viewers install --frozen-lockfile
yarn workspace @zooniverse/subject-viewers build
printf '\n'

printf 'Building `lib-classifier`...\n'
yarn workspace @zooniverse/classifier install --frozen-lockfile
yarn workspace @zooniverse/classifier build
printf '\n'

printf 'Building `fe-project`...\n'
Expand Down
2 changes: 1 addition & 1 deletion bin/bootstrap:es6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ROOT_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && cd .. && pwd)"
cd $ROOT_DIR

printf 'Installing dependencies...\n'
yarn install --frozen-lockfile
yarn install --frozen-lockfile --ignore-scripts
printf '\n'

printf 'Building `lib-react-components`...\n'
Expand Down
2 changes: 1 addition & 1 deletion bin/clean-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ for DIR in $(find $ROOT_DIR/packages -mindepth 1 -maxdepth 1 -type d) ; do
printf " done!\n"
done

yarn install --frozen-lockfile
yarn install --frozen-lockfile --ignore-scripts
echo "Finished!"