Skip to content

Commit

Permalink
NTR: Fix make run (#666)
Browse files Browse the repository at this point in the history
* NTR: Fix make run

* NTR: Fix build

* NTR: update

---------

Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored Dec 14, 2023
1 parent ab42644 commit 22a6e8a
Show file tree
Hide file tree
Showing 4 changed files with 1,657 additions and 1,279 deletions.
8 changes: 5 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ clean: ## Cleans all dependencies and files
rm -rf ./src/Resources/public/molllie-payments.js

build: ## Installs the plugin, and builds the artifacts using the Shopware build commands.
php switch-composer.php prod
cd ../../.. && export NODE_OPTIONS=--openssl-legacy-provider && shopware-cli extension build custom/plugins/MolliePayments
php switch-composer.php dev
# -----------------------------------------------------
# CUSTOM WEBPACK
php switch-composer.php dev
cd ./src/Resources/app/storefront && make build -B
# -----------------------------------------------------
php switch-composer.php prod
cd ../../.. && export NODE_OPTIONS=--openssl-legacy-provider && shopware-cli extension build custom/plugins/MolliePayments
php switch-composer.php dev
# -----------------------------------------------------
cd ../../.. && php bin/console --no-debug theme:refresh
cd ../../.. && php bin/console --no-debug theme:compile
cd ../../.. && php bin/console --no-debug theme:refresh
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/app/storefront/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.DEFAULT_GOAL := help

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

# ------------------------------------------------------------------------------------------------------------

Expand Down
Loading

0 comments on commit 22a6e8a

Please sign in to comment.