File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/vendor /
22/vendor_prefixed /
3+ coverage /
34
Original file line number Diff line number Diff line change @@ -20,12 +20,10 @@ mkdir -p $TMP_DIR
2020rm -Rf $TMP_DIR /wp2static-addon-s3
2121mkdir $TMP_DIR /wp2static-addon-s3
2222
23-
2423# clear dev dependencies
2524rm -Rf $EXEC_DIR /vendor/*
2625# load prod deps and optimize loader
27- composer install --no-dev --optimize-autoloader
28-
26+ composer install --quiet --no-dev --optimize-autoloader
2927
3028# cp all required sources to build dir
3129cp -r $EXEC_DIR /* .php $TMP_DIR /wp2static-addon-s3/
@@ -40,11 +38,6 @@ cd $TMP_DIR
4038find . -type d -exec chmod 755 {} \;
4139find . -type f -exec chmod 644 {} \;
4240
43- # strip comments and whitespace from each PHP file
44- if [ -z " $2 " ]; then
45- find . ! -name ' wp2static-addon-s3.php' -name \* .php -exec $EXEC_DIR /tools/compress_php_file {} \;
46- fi
47-
4841zip -r -9 ./$1 .zip ./wp2static-addon-s3
4942
5043cd -
@@ -58,4 +51,4 @@ cd $EXEC_DIR
5851# clear dev dependencies
5952rm -Rf $EXEC_DIR /vendor/*
6053# load prod deps
61- composer install
54+ composer install --quiet
You can’t perform that action at this time.
0 commit comments