Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6aa31e1

Browse files
committed
chore(ngLocale): change update-closure script to pull from github, not code.google.com
The closure-library migrated a while ago, so the script would fail. This is change should allow us to update these more frequently.
1 parent d18d5f5 commit 6aa31e1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

i18n/update-closure.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ cd $BASE_DIR
77

88
set -x # Trace commands as they're executed.
99

10+
I18N_BASE="https://raw.githubusercontent.com/google/closure-library/master/closure/goog/i18n"
11+
1012
# use the github repo as it is more up to date than the svn repo
11-
curl https://closure-library.googlecode.com/git/closure/goog/i18n/currency.js > closure/currencySymbols.js
12-
curl https://closure-library.googlecode.com/git/closure/goog/i18n/datetimesymbols.js > closure/datetimeSymbols.js
13-
curl https://closure-library.googlecode.com/git/closure/goog/i18n/datetimesymbolsext.js > closure/datetimeSymbolsExt.js
14-
curl https://closure-library.googlecode.com/git/closure/goog/i18n/numberformatsymbols.js > closure/numberSymbols.js
15-
curl https://closure-library.googlecode.com/git/closure/goog/i18n/pluralrules.js > closure/pluralRules.js
13+
curl "$I18N_BASE/currency.js" > closure/currencySymbols.js
14+
curl "$I18N_BASE/datetimesymbols.js" > closure/datetimeSymbols.js
15+
curl "$I18N_BASE/datetimesymbolsext.js" > closure/datetimeSymbolsExt.js
16+
curl "$I18N_BASE/numberformatsymbols.js" > closure/numberSymbols.js
17+
curl "$I18N_BASE/pluralrules.js" > closure/pluralRules.js

0 commit comments

Comments
 (0)