Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cldr 38.1 beta update v38.1.0-BETA (tagged "beta" in npm) generated from cldr-staging 1acbe10c8af48794cbe9966cb9a6cea92cee6004 generated from cldr tools f7d6d55ca3073b209d3bf2dd9fcf15d28c259e16 * improve build script cldr-generate-json.sh * create zipfiles * generate cldr-segments-full and also annotations * build scripts WIP (-V temporarily dropped) * Update reflecting CLDR-14313 fixes Reflecting commit c0060510ce98a43f1c8c8541afe48f3cbf442632 on CLDR (see unicode-org/cldr#888 for its destination) Summary of changes: - These items are now arrays instead of strings: - supplemental/calendarPreferenceData - supplemental/weekData (now grouped by territory) - Previously MISSING data now added - cldr-core/dayPeriods.json: dayPeriodRuleSet-type-selection" - cldr-core/units.json: unitConstants, unitQuantities - cldr-core/unitsMetadata.json: unit deprecations * segments packaging missed * script improvements: MATCH * warn if you have a local-config.sh * getting ready to build 38.1.0-BETA4 * update packaging 38.1.0-BETA4 * update license and versioning per CLDR-11059 CLDR tool source: unicode-org/cldr#972 Note, 'Currie' was dropped somehow with this generation, so I excluded that: unicode-org/cldr#970 (comment) * bump proposed tag to 38.1.0 * version regen to 38.1.0
- Loading branch information
Showing
572 changed files
with
3,545,580 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
.DS_Store | ||
*.zip | ||
*.asc | ||
/dist | ||
local-config.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
# Don't modify this file for temporary changes. | ||
# create an executable ./local-config.sh and it will be used instead. | ||
|
||
# where CLDR is | ||
CLDR_DIR=../cldr | ||
|
||
# output of generated JSON | ||
OUT=./cldr-json | ||
|
||
# input data, assumed to be in a parallel repo | ||
# <https://github.com/unicode-org/cldr-staging.git> | ||
INDATA=../cldr-staging/production | ||
|
||
# output of .zip files | ||
DIST=./dist | ||
|
||
# which types to generate | ||
TYPES="supplemental segments rbnf main annotations" | ||
|
||
# Only these files | ||
MATCH='.*' | ||
|
||
# what draft status to consider | ||
DRAFTSTATUS="contributed" | ||
|
||
# override the version number of CLDR | ||
VERSION="38.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright © 1991-2020 Unicode, Inc. All rights reserved. Distributed under | ||
# the Terms of Use in http://www.unicode.org/copyright.html. | ||
# | ||
# Creates JSON data under ./cldr-json in this directory. | ||
|
||
. ./cldr-config.sh | ||
if [ -x ./local-config.sh ]; | ||
then | ||
echo "Using local-config.sh" | ||
. ./local-config.sh | ||
fi | ||
|
||
set -x | ||
( cd ${OUT} && zip -r cldr-${VERSION}-json-full.zip ../LICENSE cldr-core cldr-rbnf cldr-*-full ) | ||
( cd ${OUT} && zip -r cldr-${VERSION}-json-modern.zip ../LICENSE cldr-core cldr-rbnf cldr-*-modern ) | ||
|
||
mv -v ${OUT}/*.zip ${DIST}/ |
Oops, something went wrong.