Commit graph

25 commits

Author SHA1 Message Date
Joshua A. Horton
a9f28138a4 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/child-script-pattern 2023-03-14 12:24:10 +07:00
Marc Durdin
92ed99c4d6 chore(common): build script performance improvements
Improves build script performance by:
* using built-ins wherever possible (e.g. string splitting)
* eliminating redundant code
* using absolute (to $KEYMAN_ROOT) rather than relative paths to avoid realpath
* removing unnecessary `npm run` calls

BEFORE                         | AFTER
-------------------------------|----------------------
time ./core/build.sh --help    |
real    0m2.116s               | real    0m0.874s
user    0m0.578s               | user    0m0.198s
sys     0m0.984s               | sys     0m0.289s
-------------------------------|----------------------
time ./web/build.sh --help     |
real    0m3.523s               | real    0m0.757s
user    0m1.166s               | user    0m0.320s
sys     0m2.273s               | sys     0m0.455s
-------------------------------|----------------------
time ./web/build.sh -d         |
real    1m34.750s              | real    0m59.974s
user    0m9.721s               | user    0m6.284s
sys     0m19.652s              | sys     0m13.202s

@keymanapp-test-bot skip
2023-03-13 07:18:09 +07:00
Joshua A. Horton
2f065e0b89 change(common): fixes a builder error 2023-02-22 13:22:30 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
c475188c6b chore: use builder_die, remove die 2023-02-20 09:03:37 +07:00
Joshua A. Horton
e2d1b17dec fix(common): some nits 2023-02-01 13:08:26 +07:00
Joshua A. Horton
61a4a3af0d fix(web): changed the docs in advance; forgot to change implementation 2023-01-10 10:09:18 +07:00
Joshua A. Horton
df3670deb8 change(web): param name tweak 2023-01-09 13:53:55 +07:00
Joshua A. Horton
e5738667b4 change(web): main web's source cleaner tool now based on new common tool 2023-01-09 13:45:32 +07:00
Joshua A. Horton
26bddf133a chore(web): Merge branch 'change/web/reorg-tools' into chore/web/ci-step-extraction 2022-12-01 10:51:49 +07:00
Joshua Horton
b91451b933
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-12-01 10:44:47 +07:00
Joshua A. Horton
f5acaf6e08 fix(web): fixes kbd-script pathing for recorder when TC-served 2022-11-29 15:13:44 +07:00
Joshua A. Horton
a859170f35 fix(web): recorder resource path handling for user-testing artifact 2022-11-29 13:14:26 +07:00
Joshua A. Horton
c91875bbb1 fix(web): recorder test page's recording ability 2022-11-29 12:39:20 +07:00
Joshua A. Horton
e3b70c03d2 chore(web): recorder page path fixup, build retrigger for recorder resources 2022-11-29 12:19:25 +07:00
Joshua A. Horton
7fcdeaf9c1 chore(web): extracts Web CI test-build scripts to in-repo script, updates refs 2022-11-29 09:48:43 +07:00
Joshua A. Horton
a1a5cca79a fix(web): missing -f option on bulk_rendering clean rm cmd 2022-11-29 09:47:35 +07:00
Joshua A. Horton
41729088f8 chore(web): web index page cleanups 2022-11-29 09:47:32 +07:00
Joshua A. Horton
eb9cd0c9e9 chore(web): script patch-up, new tools/testing/recorder script 2022-11-29 09:47:07 +07:00
Joshua A. Horton
9d82125725 change(web): moves bulk_rendering under tools/testing, adds clean action 2022-11-29 09:46:50 +07:00
Joshua A. Horton
6b53dbb4a0 fix(web): restores unit test operation 2022-11-29 09:46:42 +07:00
Joshua A. Horton
a57506a619 change(web): device-detect and element-wrappers as engine/ components 2022-11-29 09:45:53 +07:00
Joshua A. Horton
593fbd248e change(web): moves web/tools to web/src/tools/testing, restores base builds 2022-11-29 09:45:15 +07:00
Joshua A. Horton
0ece8cf752 change(web): moves sourcemap_root under src/tools/building 2022-11-29 09:45:14 +07:00