mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-22 02:45:10 +08:00
Adds missing number format and symbol rules to Closure slurper script. Closes #6179 Closes #9013
19 lines
679 B
Bash
Executable File
19 lines
679 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e # Exit on error.
|
|
|
|
BASE_DIR=`dirname $0`
|
|
cd $BASE_DIR
|
|
|
|
set -x # Trace commands as they're executed.
|
|
|
|
I18N_BASE="https://raw.githubusercontent.com/google/closure-library/master/closure/goog/i18n"
|
|
|
|
# use the github repo as it is more up to date than the svn repo
|
|
curl "$I18N_BASE/currency.js" > closure/currencySymbols.js
|
|
curl "$I18N_BASE/datetimesymbols.js" > closure/datetimeSymbols.js
|
|
curl "$I18N_BASE/datetimesymbolsext.js" > closure/datetimeSymbolsExt.js
|
|
curl "$I18N_BASE/numberformatsymbols.js" > closure/numberSymbols.js
|
|
curl "$I18N_BASE/numberformatsymbolsext.js" > closure/numberSymbolsExt.js
|
|
curl "$I18N_BASE/pluralrules.js" > closure/pluralRules.js
|