mirror of
https://github.com/solaeus/nucleo.git
synced 2024-11-14 11:07:10 +00:00
14 lines
295 B
Bash
14 lines
295 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
dir=$(pwd)
|
||
|
mkdir /tmp/ucd-15.0.0
|
||
|
cd /tmp/ucd-15.0.0
|
||
|
curl -LO https://www.unicode.org/Public/zipped/15.0.0/UCD.zip
|
||
|
unzip UCD.zip
|
||
|
|
||
|
cd "${dir}"
|
||
|
cargo install ucd-generate
|
||
|
ucd-generate case-folding-simple /tmp/ucd-15.0.0 --chars > src/case_fold.rs
|
||
|
rm -rf /tmp/ucd-15.0.0
|