Skip to content

Commit

Permalink
fix(scriptlet): adding runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlindquist committed Dec 17, 2024
1 parent 39a23e8 commit ea37cec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scriptlet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@ const toolCommandMap = new Map([
['php', (scriptPath) => `php ${scriptPath}`],
['node', (scriptPath) => `node ${scriptPath}`],
['bash', (scriptPath) => `bash ${scriptPath}`],
['zsh', (scriptPath) => `zsh ${scriptPath}`],
['fish', (scriptPath) => `fish ${scriptPath}`],
['sh', (scriptPath) => `sh ${scriptPath}`],
['cmd', (scriptPath) => `cmd /s /c ${scriptPath}`],
['powershell', (scriptPath) => `powershell -File ${scriptPath}`],
['pwsh', (scriptPath) => `pwsh -File ${scriptPath}`],
['lua', (scriptPath) => `lua ${scriptPath}`],
['r', (scriptPath) => `Rscript ${scriptPath}`],
['groovy', (scriptPath) => `groovy ${scriptPath}`],
Expand Down

0 comments on commit ea37cec

Please sign in to comment.