mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add docker:build-package command
This allows to build a package using the docker env, which should be more consistent and allows to easily use the needed PHP version (e.g. the min supported) instead of the system PHP.
This commit is contained in:
parent
3eb784bc2b
commit
16c77ebf95
2 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
|||
"docker:test": "docker-compose run --rm test vendor/bin/phpunit",
|
||||
"docker:lint": "docker-compose run --rm test sh -c 'vendor/bin/phpcs --parallel=8 -s && vendor/bin/psalm --show-info=false --threads=8 --diff'",
|
||||
"docker:fix-lint": "docker-compose run --rm test vendor/bin/phpcbf",
|
||||
"docker:build-package": "docker-compose run --rm build yarn run build",
|
||||
|
||||
|
||||
"prebuild": "rm -rf ./vendor && find . -name 'node_modules' -type d -maxdepth 3 -exec rm -rf {} +",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue