Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.02 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.02 KB

Welcome! You’ll need:

  • Nix and one of the following
    • nix-shell [--pure]
    • direnv allow
  • or your own environment with
    • make(1) + git(1) + pdfdetach(1)
    • Rust 1.58+
    • Python 3.8+ (for make assets)
    • Node.js 10+ (for make assets)

fetch dependencies

git submodule update --init --recursive

install dependencies

npm i make [init-clean] init make init-nixos # if using NixOS

build data

make data

build assets

make assets

build client

npm run build

start dev server

npm run start

start and open

npm run open

format code

npm run prettier:write

check TypeScript

npm run check

run unit tests

npm run test

do all three

npm run dwim

test coverage

npm run test:coverage

how to update unicode

  1. bump unicode and emoji versions in data/update.sh
  2. run the update script: ( cd data; ./update.sh )
  3. update generate_egcbreak() in data/src/uax29.rs
  4. update NAME_RULES in data/src/dynamic.rs

example commit: https://github.com/delan/charming/pull/53/commits/9f268e9fa970a5767a18402c639958ecbea18f3a