You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1008 B
26 lines
1008 B
1 year ago
|
#!/bin/bash
|
||
|
#
|
||
|
# Upstream downloads a handful of Unicode files for the build
|
||
|
# and for testing.
|
||
|
#
|
||
|
# Run this script to get them for offline use and add them to
|
||
|
# dist-git repo.
|
||
|
|
||
|
# These are needed for regenerating src/*data.c
|
||
|
wget -Nc http://unicode.org/Public/UNIDATA/LineBreak.txt
|
||
|
wget -Nc http://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakProperty.txt
|
||
|
wget -Nc http://www.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakProperty.txt
|
||
|
wget -Nc https://www.unicode.org/Public/UNIDATA/emoji/emoji-data.txt
|
||
|
|
||
|
# These are needed for the tests
|
||
|
wget -Nc http://www.unicode.org/Public/UNIDATA/auxiliary/LineBreakTest.txt
|
||
|
wget -Nc http://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakTest.txt
|
||
|
wget -Nc http://www.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakTest.txt
|
||
|
|
||
|
git add *Break*.txt emoji-data.txt
|
||
|
|
||
|
echo "All files downloaded."
|
||
|
echo "Don't forget to commit the new files!"
|
||
|
echo "Use `git status` to check if anything has been added."
|
||
|
echo "Only newer versions of the files will be downloaded."
|