mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-19 12:27:47 +00:00
chore: Merge branch 'epic/user-dict' into chore/merge-master-into-user-dict
This commit is contained in:
commit
1d2f6c70d2
1 changed files with 5 additions and 15 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue