#!/bin/bash set -e cd "c:/visual studio code/projekty/shopPRO" # Files to include in update package (modified, excluding .md, tests, .phpunit) FILES=( admin/templates/dashboard/main-view.php admin/templates/shop-order/order-details.php admin/templates/shop-order/order-edit.php admin/templates/shop-product/product-combination.php autoload/Domain/Attribute/AttributeRepository.php autoload/Domain/Basket/BasketCalculator.php autoload/Domain/Category/CategoryRepository.php autoload/Domain/Integrations/IntegrationsRepository.php autoload/Domain/Order/OrderAdminService.php autoload/Domain/Order/OrderRepository.php autoload/Domain/Product/ProductRepository.php autoload/Domain/Promotion/PromotionRepository.php autoload/Shared/Helpers/Helpers.php autoload/admin/Controllers/ShopOrderController.php autoload/admin/Controllers/ShopProductController.php autoload/admin/Controllers/ShopPromotionController.php autoload/front/App.php autoload/front/Controllers/ShopBasketController.php autoload/front/Controllers/ShopClientController.php autoload/front/Controllers/ShopOrderController.php autoload/front/Controllers/ShopProductController.php autoload/front/LayoutEngine.php autoload/front/Controllers/SearchController.php autoload/front/Views/ShopSearch.php cron-turstmate.php cron.php index.php templates/controls/alert-product-sets.php templates/shop-basket/_partials/product-custom-fields.php templates/shop-basket/alert-product-sets.php templates/shop-basket/basket-details.php templates/shop-basket/summary-view.php templates/shop-category/blog-category-products.php templates/shop-category/category-infinitescroll.php templates/shop-category/category.php templates/shop-category/products.php templates/shop-client/client-orders.php templates/shop-order/mail-summary.php templates/shop-order/order-details.php templates/shop-order/order-simple.php templates/shop-producer/products.php templates/shop-product/_partial/product-attribute.php templates/shop-product/_partial/product-meta.php templates/shop-product/_partial/product-warehouse-message.php templates/shop-product/product-mini.php templates/shop-product/product.php templates/shop-product/products-box.php templates/shop-product/products-new.php templates/shop-product/products-top.php templates/shop-product/promoted-products.php templates/shop-search/product-search.php templates/shop-search/products.php updates/changelog.php updates/versions.php ) # Create directory structure and copy files for f in "${FILES[@]}"; do dir=$(dirname "$f") mkdir -p "temp/temp_294/$dir" cp "$f" "temp/temp_294/$f" done echo "Copied ${#FILES[@]} files to temp/temp_294/"