HomePhabricator
Diffusion Comm 49e3edbd8957

[shell] script to generate WASM database code

Description

[shell] script to generate WASM database code

Summary:
Script downloads SQLite code (if it does not exist) and generates two files:

  • CommQueryExecutor.js which is glue code in ES6 format, will be imported to JS code
  • CommQueryExecutor.wasm which is actual implementation

Test Plan:

  • run script and check if files are created properly
  • run second time and check if SQLite assets are not re-downloaded

Reviewers: jon, michal, tomek

Reviewed By: jon

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8390

Details

Provenance
kamilAuthored on Jun 14 2023, 1:59 AM
Reviewer
jon
Differential Revision
D8390: [shell] script to generate WASM database code
Parents
rCOMM097020a6acb4: [web] implement test c++ class
Branches
Unknown
Tags
Unknown