Skip to content

Commit

Permalink
[Locale] changed build data script name
Browse files Browse the repository at this point in the history
  • Loading branch information
eriksencosta committed Aug 7, 2012
1 parent 61e3539 commit 3f2b4bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -8,4 +8,4 @@ php:
before_script:
- curl -s http://getcomposer.org/installer | php
- 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
4 changes: 2 additions & 2 deletions src/Symfony/Component/Locale/Resources/data/UPDATE.txt
Expand Up @@ -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
environment path:

$ php update-data.php 49
$ php update-data.php 49 /path/to/icu/bin
$ php build-data.php 49
$ php build-data.php 49 /path/to/icu/bin

It is recommended to use the ICU binaries in the same version of the desired
version to build the data files.
Expand Down
Expand Up @@ -234,18 +234,18 @@ function create_svn_info_file($source, $target)

if ($GLOBALS['argc'] < 1) {
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
ICU version or the path to the binaries are not provided, it will build the
latest version released using the genrb found in the environment path.
Examples:
php update-data.php 4.2
php build-data.php 4.2
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
icu-config binaries found in the environment path
Expand Down

0 comments on commit 3f2b4bf

Please sign in to comment.