You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An alternative task type that uses a shell directly instead of js functions.
Syntax:
task.shell(`echo Hello $name`)task.shell(`echo line 1`,`echo line 2`,)task.shell(`echo line1echo line2`)
The script will run in the deno_task_shell that dax provides. This avoids the cost of having to run the ghjk.ts in a worker that the current denoFilev@v1 tasks have to face.
We'll also allowing specific shells like...
task.bash(`ps`)
This will require ports for the specified shells to be installed first. An interesting feature might be to support shell tasks to run in process of the shell that invokes them allowing users to do source. A very advanced version of this feature would be tasks that run different code depending on the shell the user's using though I personally think this is overkill. Maybe there's some embedded shell language that's designed for transpilation we can use.
This feature will come in handy when used with:
task aliases, providing an easy way to declare program aliases
env hooks, providing low latency env hooks
The text was updated successfully, but these errors were encountered:
An alternative task type that uses a shell directly instead of js functions.
Syntax:
The script will run in the
deno_task_shell
thatdax
provides. This avoids the cost of having to run theghjk.ts
in a worker that the currentdenoFilev@v1
tasks have to face.We'll also allowing specific shells like...
This will require ports for the specified shells to be installed first. An interesting feature might be to support shell tasks to run in process of the shell that invokes them allowing users to do
source
. A very advanced version of this feature would be tasks that run different code depending on the shell the user's using though I personally think this is overkill. Maybe there's some embedded shell language that's designed for transpilation we can use.This feature will come in handy when used with:
The text was updated successfully, but these errors were encountered: