Skip to content

Commit e5dac10

Browse files
committed
Removed asset packagist from the assembled code by default.
1 parent 04071c6 commit e5dac10

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.devtools/assemble.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ php -r "echo json_encode(array_replace_recursive(json_decode(file_get_contents('
107107
info "Merging configuration from extension's composer.json."
108108
php -r "echo json_encode(array_replace_recursive(json_decode(file_get_contents('composer.json'), true),json_decode(file_get_contents('build/composer.json'), true)),JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES);" >"build/composer2.json" && mv -f "build/composer2.json" "build/composer.json"
109109

110+
# Asset Packagist sometimes fails, so we remove it by default. If it's needed,
111+
# the lines below can be commented out.
112+
info "Remove asset-packagist"
113+
composer --working-dir="build" config --unset repositories.1 || true
114+
110115
if [ -d "patches" ]; then
111116
info "Copying patches."
112117
mkdir -p "build/patches"

0 commit comments

Comments
 (0)