Update README

This commit is contained in:
Timothy Warren 2023-11-10 21:24:47 -05:00
parent 8bb3018e84
commit bc8d398044
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,13 @@
# Scroll # Scroll
Making a text editor in Typescript based on Kilo (Script + Kilo = Scroll) Making a text editor in Typescript based on Kilo (Script + Kilo = Scroll).
This runs on [Bun](https://bun.sh/) and [Deno](https://deno.com/).
Having to compile for Node sucks, so targeting Bun and Deno as runtimes To simplify running, I'm using [Just](https://github.com/casey/just)
* Bun: `just bun-run`
* Deno: `just deno-run`
## Development Notes
* Runtime differences are adapted into a common interface
* Runtime implementations are in the `src/deno` and `src/bun` folders
* The main implementation is in `src/common`

View File

@ -6,7 +6,7 @@ default:
check: deno-check bun-check check: deno-check bun-check
docs: docs:
deno doc --html --unstable-ffi --private --name="Scroll" ./src/common/mod.ts deno doc --html --unstable-ffi --name="Scroll" ./src/scroll.ts ./src/common/mod.ts ./src/deno/mod.ts ./src/bun/mod.ts
# Reformat the code # Reformat the code
fmt: fmt: