From 34a052725497fd397d0bbd73782eaf3e9aea779a Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Thu, 8 Aug 2024 07:22:46 +0700 Subject: [PATCH] chore: establish user-dict epic --- common/predictive-text/README.md | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/common/predictive-text/README.md b/common/predictive-text/README.md index b44aba5016..0271650580 100644 --- a/common/predictive-text/README.md +++ b/common/predictive-text/README.md @@ -17,11 +17,13 @@ Build Run `build.sh`. This will also automatically install dependencies with `npm`. ```sh -./build.sh +./build.sh configure build ``` ### Two-stage compilation process +TODO: this is well and truly out of date... + Since the primary LMLayer code runs within a [Web Worker][], `build.sh` compiles the LMLayer in two stages: @@ -43,19 +45,7 @@ This will run both headless unit tests, and in-browser unit tests and integratio tests: ```sh -./build.sh -test +./build.sh test ``` -### Test-Driven Development - -I like to use [entr]() to automatically build and re-run the unit tests anytime I -change a source code file. Here's the command I run in separate window: - -```sh -git ls-files | entr -c ./build.sh -tdd -``` - -Importantly, `./build.sh -tdd` skips running the in-browser tests, and skips -downloading/updating `npm` dependencies. - -[entr]: http://eradman.com/entrproject/ +### TODO: epic/user-dict \ No newline at end of file