Use the proper composer command for running scripts
This commit is contained in:
parent
cf783aca58
commit
b2ad3aab61
|
@ -17,7 +17,7 @@ pnpm run build || exit "$?"
|
|||
echo "Cleaning up PHP dependencies..."
|
||||
composer install --no-dev || exit "$?"
|
||||
echo "Run makepot..."
|
||||
composer run makepot
|
||||
composer run-script makepot
|
||||
echo "Syncing files..."
|
||||
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"test:e2e-debug": "pnpm exec wc-e2e test:e2e-debug",
|
||||
"test:e2e-dev": "pnpm exec wc-e2e test:e2e-dev",
|
||||
"test:unit": "./vendor/bin/phpunit -c ./phpunit.xml",
|
||||
"makepot": "composer run makepot",
|
||||
"makepot": "composer run-script makepot",
|
||||
"packages:fix:textdomain": "node ./bin/package-update-textdomain.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Reference in New Issue