Skip to content

Commit bd8b471

Browse files
Update build script to focus on Dropzone library
Removed the loop for building all Drupal libraries and updated to build only the Dropzone library.
1 parent 3e72794 commit bd8b471

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/scripts/build.sh

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,11 @@ set -x
7979
composer install --prefer-dist --no-progress --no-suggest
8080
{ [ "${DEBUG}" ] || set +x; } 2>/dev/null
8181

82-
# Build all Drupal libraries
83-
for dir in docroot/libraries/*; do
84-
if [ -f "$dir/package.json" ]; then
85-
cd "$dir"
86-
yarn install
87-
yarn build
88-
cd -
89-
fi
90-
done
82+
# Build Dropzone Drupal library
83+
cd "docroot/libraries/dropzone"
84+
yarn install
85+
yarn build
86+
cd -
9187

9288
# Get current branch name.
9389
BRANCHNAME="$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)"

0 commit comments

Comments
 (0)