-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Currently, dax has a very slim single Rust file here that exposes a WASM interface for the deno_task_shell parsing logic which it then compiles with deno run -A https://deno.land/x/wasmbuild@0.15.6/main.ts --sync --out ./src/lib
The problem is that having this code inlined into dax leads to two issues:
- If a new version of
deno_task_shellis released, you can't use it from JS untildaxis updated - If you want to build an alternative to dax instead of waiting for it to be updated, you have to copy-paste the rust->wasm compilation system into your own project
It feels like probably it would be better to just inline the WASM compilation step into this project and then release deno_task_shell on NPM/JSR. That means that
- You can update
deno_task_shellwithout updatingdaxby just using a patch easily - You can easily use the
Deno.Commandinterface yourself directly ifdaxdoesn't quite fit your needs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels