Skip to content

Commit

Permalink
add MAINTENANCE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Sep 19, 2024
1 parent 26ecd2a commit a3cd134
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

To regenerate tables, run the following in the repo root (replace the unicode version):

```
cargo binstall ucd-generate
curl -LO https://www.unicode.org/Public/zipped/16.0.0/UCD.zip
unzip UCD.zip -d UCD
ucd-generate property-bool UCD --include ID_Start,ID_Continue > tests/tables/tables.rs
ucd-generate property-bool UCD --include ID_Start,ID_Continue --fst-dir tests/fst
ucd-generate property-bool UCD --include ID_Start,ID_Continue --trie-set > tests/trie/trie.rs
cargo run --manifest-path generate/Cargo.toml
```

0 comments on commit a3cd134

Please sign in to comment.