Skip to content

Commit cb2221a

Browse files
committed
Add pot script.
1 parent 6a02f93 commit cb2221a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^2.0.0 && mv composer.backup composer.json",
8383
"stan-tests": "phpstan analyze -c tests/phpstan.neon",
8484
"test": "phpunit",
85-
"test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml"
85+
"test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
86+
"pot-setup": "cp composer.json composer.backup && composer require --dev dereuromark/cakephp-translate && mv composer.backup composer.json",
87+
"pot-check": "php vendor/dereuromark/cakephp-translate/scripts/pot-updater.php --fail-on-diff",
88+
"pot-update": "php vendor/dereuromark/cakephp-translate/scripts/pot-updater.php --update"
8689
}
8790
}

0 commit comments

Comments
 (0)