Use the proper composer command for running scripts

This commit is contained in:
roykho 2022-04-27 10:09:06 -07:00
parent cf783aca58
commit b2ad3aab61
No known key found for this signature in database
GPG Key ID: 00D6C128DC6E0F71
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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": {