[Locale] changed build data script name
This commit is contained in:
parent
61e353942e
commit
3f2b4bf344
|
@ -8,4 +8,4 @@ php:
|
||||||
before_script:
|
before_script:
|
||||||
- curl -s http://getcomposer.org/installer | php
|
- curl -s http://getcomposer.org/installer | php
|
||||||
- COMPOSER_ROOT_VERSION=dev-master php composer.phar --dev install
|
- COMPOSER_ROOT_VERSION=dev-master php composer.phar --dev install
|
||||||
- php src/Symfony/Component/Locale/Resources/data/update-data.php
|
- php src/Symfony/Component/Locale/Resources/data/build-data.php
|
|
@ -7,8 +7,8 @@ the ICU binaries. Both arguments are optional, if not provided, the script will
|
||||||
try to build the latest available ICU data using the binaries available in the
|
try to build the latest available ICU data using the binaries available in the
|
||||||
environment path:
|
environment path:
|
||||||
|
|
||||||
$ php update-data.php 49
|
$ php build-data.php 49
|
||||||
$ php update-data.php 49 /path/to/icu/bin
|
$ php build-data.php 49 /path/to/icu/bin
|
||||||
|
|
||||||
It is recommended to use the ICU binaries in the same version of the desired
|
It is recommended to use the ICU binaries in the same version of the desired
|
||||||
version to build the data files.
|
version to build the data files.
|
||||||
|
|
|
@ -234,7 +234,7 @@ SVN_INFO_DATA;
|
||||||
|
|
||||||
if ($GLOBALS['argc'] < 1) {
|
if ($GLOBALS['argc'] < 1) {
|
||||||
bailout(<<<MESSAGE
|
bailout(<<<MESSAGE
|
||||||
Usage: php update-data.php [icu-version] [icu-binaries-path]
|
Usage: php build-data.php [icu-version] [icu-binaries-path]
|
||||||
|
|
||||||
Builds or update the ICU data in Symfony2 for a specific ICU version. If the
|
Builds or update the ICU data in Symfony2 for a specific ICU version. If the
|
||||||
ICU version or the path to the binaries are not provided, it will build the
|
ICU version or the path to the binaries are not provided, it will build the
|
||||||
|
@ -242,10 +242,10 @@ latest version released using the genrb found in the environment path.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
php update-data.php 4.2
|
php build-data.php 4.2
|
||||||
It will build the ICU data using the 49 version data
|
It will build the ICU data using the 49 version data
|
||||||
|
|
||||||
php update-data.php 4.2 /path/to/icu/bin
|
php build-data.php 4.2 /path/to/icu/bin
|
||||||
It will build the ICU data using the 49 version data and the genrb and
|
It will build the ICU data using the 49 version data and the genrb and
|
||||||
icu-config binaries found in the environment path
|
icu-config binaries found in the environment path
|
||||||
|
|
Reference in New Issue