Move makepot to build-zip bash script
This commit is contained in:
parent
216317c557
commit
cf783aca58
|
@ -16,7 +16,8 @@ echo "Running JS Build..."
|
||||||
pnpm run build || exit "$?"
|
pnpm run build || exit "$?"
|
||||||
echo "Cleaning up PHP dependencies..."
|
echo "Cleaning up PHP dependencies..."
|
||||||
composer install --no-dev || exit "$?"
|
composer install --no-dev || exit "$?"
|
||||||
|
echo "Run makepot..."
|
||||||
|
composer run makepot
|
||||||
echo "Syncing files..."
|
echo "Syncing files..."
|
||||||
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
|
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
"build": "WC_ADMIN_PHASE=core pnpm run build:feature-config && pnpm nx build woocommerce-admin && pnpm nx build woocommerce-legacy-assets && pnpm nx makepot woocommerce",
|
"build": "WC_ADMIN_PHASE=core pnpm run build:feature-config && pnpm nx build woocommerce-admin && pnpm nx build woocommerce-legacy-assets",
|
||||||
"build:feature-config": "php bin/generate-feature-config.php",
|
"build:feature-config": "php bin/generate-feature-config.php",
|
||||||
"build:zip": "./bin/build-zip.sh",
|
"build:zip": "./bin/build-zip.sh",
|
||||||
"lint:js": "eslint assets/js --ext=js",
|
"lint:js": "eslint assets/js --ext=js",
|
||||||
|
|
Loading…
Reference in New Issue