Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hverlin committed Dec 13, 2024
1 parent b71d6f0 commit b2c34ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tasks/toml-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,10 @@ run = [
bun = 'latest'

[tasks.bun_shell]
shell = "bun -e"
description = "https://bun.sh/docs/runtime/shell"
run = """
#!/usr/bin/env bun
import { $ } from "bun";
const response = await fetch("https://example.com");
await $`cat < ${response} | wc -c`; // 1256
Expand Down Expand Up @@ -297,6 +298,7 @@ ruby = 'latest'

[tasks.ruby_task]
run = """
#!/usr/bin/env ruby
puts 'Hello, ruby!'
"""
```
Expand Down

0 comments on commit b2c34ee

Please sign in to comment.