Skip to content

Commit

Permalink
Added same thing to the other files + added --active-only
Browse files Browse the repository at this point in the history
  • Loading branch information
xaiyadev committed Jan 22, 2024
1 parent f6579ce commit c03288b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shopware/administration/6.6/bin/build-administration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ fi

(cd "${ADMIN_ROOT}"/Resources/app/administration && npm run build)
[[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install
[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear
[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only
1 change: 1 addition & 0 deletions shopware/platform/6.6/bin/build-administration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ fi

(cd "${ADMIN_ROOT}"/Resources/app/administration && npm run build)
[[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install
[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only
2 changes: 2 additions & 0 deletions shopware/platform/6.6/bin/build-storefront.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ node "${STOREFRONT_ROOT}"/Resources/app/storefront/copy-to-vendor.js
npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront run production
[[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install
[[ ${SHOPWARE_SKIP_THEME_COMPILE-""} ]] || "${BIN_TOOL}" theme:compile --active-only
[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only

2 changes: 1 addition & 1 deletion shopware/storefront/6.6/bin/build-storefront.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ node "${STOREFRONT_ROOT}"/Resources/app/storefront/copy-to-vendor.js
npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront run production
[[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install
[[ ${SHOPWARE_SKIP_THEME_COMPILE-""} ]] || "${BIN_TOOL}" theme:compile --active-only
[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear
[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only

0 comments on commit c03288b

Please sign in to comment.