Update README
This commit is contained in:
parent
8bb3018e84
commit
bc8d398044
12
README.md
12
README.md
@ -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`
|
2
justfile
2
justfile
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user