guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
138 stars 7 forks source link

How to know what engines are available? #173

Open canadaduane opened 1 year ago

canadaduane commented 1 year ago

I see engine = 'node' in some examples, but I'm not sure how to get a complete list of engines available in my compiled version of chomp. Is there a CLI query to find out what options there are?

guybedford commented 1 year ago

It could be interesting to explore having engines be pluggable via extensions. And also to have some kind of chomp --list-engines. Would be amazing if someone wants to pick this up.

canadaduane commented 10 months ago

Just re-reading your comment here. Are you saying there is only one engine at this time, i.e. "node"? (And that it's the only hard-coded one).

guybedford commented 10 months ago

There are three engines - 'node' | 'deno' | 'cmd'. Details are provided in the task documentation at https://github.com/guybedford/chomp/blob/main/docs/task.md.

Very much open to adding other engines (via PRs of course!).