Commit graph

40 commits

Author SHA1 Message Date
jahorton
d0ab35d5d9 fix(common): Fixes #2469 2020-01-08 11:53:53 +07:00
jahorton
09d7a0e826 fix(common): adds string.startswith polyfill to lmlayer 2019-12-16 08:16:55 +07:00
jahorton
89bbf44139 fix(common): Adds array.from polyfill, the next thing to break 2019-12-10 09:24:22 +07:00
jahorton
8d778b2a59 fix(common): adds polyfill for charCodeAt, fixes #2323 2019-12-10 09:24:22 +07:00
Eddie Antonio Santos
377e018ceb
Fix other build.sh. 2019-10-02 09:31:49 -06:00
Eddie Antonio Santos
556d89b11e
Fix link before install in the event of ./build.sh -clean. 2019-10-02 09:26:03 -06:00
Eddie Antonio Santos
00ccc0080f
Add set -eu and failure messages in ./build.sh(s). 2019-10-02 08:45:44 -06:00
Eddie Antonio Santos
f2f511840e
Move npm link . to dependent build.sh scripts. 2019-10-01 14:55:58 -06:00
Joshua A. Horton
810edb2fde Forgot the $ symbol in the if-condition. 2019-03-06 12:13:25 +07:00
Joshua A. Horton
9a1a21d767 Workaround for the mac sed issue, plus minor doc for one other point. 2019-03-06 11:53:49 +07:00
Joshua A. Horton
69f7319414 Right, KMW links to the actual LMLayer code, not the .d.ts file... 2019-03-06 11:35:52 +07:00
Joshua A. Horton
a873695c10 Updates and improves LMLayer definition files and their links. 2019-03-06 11:08:21 +07:00
Joshua A. Horton
71fec33c2c Establishes baseline co-compilation of KMW w/ the LMLayer 2019-02-19 10:06:27 +07:00
Joshua A. Horton
cf13caa98e Merge branch 'lmlayer-init' into lmlayer-build-reorg 2018-11-29 23:35:37 +07:00
Joshua A. Horton
18a19734db Gets headless tests working post-reorg, fixes Windows test bug. 2018-11-29 10:12:31 +07:00
Joshua A. Horton
32b834521e Reorganized the build structure into something simpler to -clean. 2018-11-29 09:11:26 +07:00
Eddie Antonio Santos
a0c07dfcb9
Do not use dirname to resolve script; assume build.sh is always run in one directory. 2018-11-28 15:23:20 -07:00
Eddie Antonio Santos
ef452b8c58
Source the utilities in resources/ in the build.sh script. 2018-11-28 14:23:14 -07:00
Eddie Antonio Santos
baea53826d
Clean top-level generated JS. 2018-11-27 18:55:38 -07:00
Eddie Antonio Santos
dcd169dd4e
Alphebetize function names in build.sh. 2018-11-27 10:42:53 -07:00
Eddie Antonio Santos
fc69a08977
Move unit-test script to build.sh 2018-11-27 10:41:34 -07:00
Eddie Antonio Santos
614d577d7c
Use dashes to make names consistent. 2018-11-27 10:34:23 -07:00
Eddie Antonio Santos
bbf1c6e2b2
Move scripts from package.json to build.sh; revert tsc. 2018-11-27 10:19:40 -07:00
Eddie Antonio Santos
7f877316b0
Rename function: build_wrapped_worker() -> wrap_worker(). 2018-11-23 00:00:01 -07:00
Eddie Antonio Santos
406f7ed4ea
Remove unused function: assert(). 2018-11-22 23:59:00 -07:00
Eddie Antonio Santos
e565531a81
Exract shell function: build_wrapped_worker(). 2018-11-22 10:59:43 -07:00
Eddie Antonio Santos
a5425ed93d
Factor out build() shell function. 2018-11-22 10:55:54 -07:00
Eddie Antonio Santos
f3c4c163a5
Let clean remove the autogenerated embedded worker. 2018-11-22 10:53:17 -07:00
Eddie Antonio Santos
01cf3b0e75
Add colours to failure message. 2018-11-22 10:50:20 -07:00
Eddie Antonio Santos
213dc23de8
Improve build.sh help options. 2018-11-22 10:42:05 -07:00
Eddie Antonio Santos
31e3a146e3
Document some command line options. 2018-11-22 10:37:39 -07:00
Eddie Antonio Santos
9331eee91a
Add npm script that only runs unit tests. 2018-11-22 10:29:00 -07:00
Eddie Antonio Santos
dfce8220aa
Add -test and -tdd options to build.sh. 2018-11-22 09:58:12 -07:00
Eddie Antonio Santos
f3dd966631
Create build-worker and build-main scripts in package.json. 2018-11-22 09:32:42 -07:00
Eddie Antonio Santos
18cdc19cd1
Minor style updates. 2018-11-22 09:23:37 -07:00
Eddie Antonio Santos
678318aeb5
Move all functions to top of build.sh. 2018-11-22 09:20:21 -07:00
Eddie Antonio Santos
6183f955c1
Build embedded worker in two-stage compilation process. 2018-11-19 14:51:31 -07:00
Eddie Antonio Santos
b0c2ad0f8b
Build worker, then build main. 2018-11-16 11:48:03 -07:00
Eddie Antonio Santos
b8b8e57fd2
Make the build script executable. 2018-11-01 13:30:03 -06:00
Joshua A. Horton
e875ba022b Created an initial build script for use in common/predictive-text 2018-11-01 08:04:06 +07:00