File: update-closure.sh

package info (click to toggle)
angular.js 1.2.26-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 21,852 kB
  • ctags: 9,004
  • sloc: sh: 356; pascal: 164; makefile: 110
file content (18 lines) | stat: -rwxr-xr-x 679 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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