We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329167e commit 986b51cCopy full SHA for 986b51c
1 file changed
build.sh
@@ -47,6 +47,14 @@ echo "Build blocks..."
47
npm run build-blocks
48
49
echo "Internationalization..."
50
+
51
+# download wp-cli if not already downloaded
52
+if [ ! -f wp-cli.phar ]; then
53
+ echo "Downloading WP-CLI..."
54
+ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
55
+ chmod +x wp-cli.phar
56
+fi
57
58
cp -r ./i18n ./build/i18n
59
php ./wp-cli.phar i18n make-json ./build/i18n
60
php ./wp-cli.phar i18n make-mo ./build/i18n
0 commit comments