Format markdown and YAML files with deno fmt

This commit is contained in:
2025-12-18 19:42:05 +01:00
parent 0638707349
commit 99ad5b9d7f
3 changed files with 34 additions and 19 deletions

View File

@ -1,6 +1,6 @@
# https://taskfile.dev
version: '3'
version: "3"
vars:
BINARY: statusline
@ -59,11 +59,11 @@ tasks:
deps: [build]
cmds:
- |
echo "=== Pure Go (100 runs) ==="
time for i in $(seq 1 100); do cat test/fixture.json | ./bin/{{.BINARY}} >/dev/null; done
# echo ""
# echo "=== Shell (100 runs) ==="
# time for i in $(seq 1 100); do cat test/fixture.json | ./statusline.sh >/dev/null; done
echo "=== Pure Go (100 runs) ==="
time for i in $(seq 1 100); do cat test/fixture.json | ./bin/{{.BINARY}} >/dev/null; done
# echo ""
# echo "=== Shell (100 runs) ==="
# time for i in $(seq 1 100); do cat test/fixture.json | ./statusline.sh >/dev/null; done
silent: false
bench:go:
@ -71,8 +71,8 @@ tasks:
deps: [build]
cmds:
- |
echo "=== Pure Go (100 runs) ==="
time for i in $(seq 1 100); do cat test/fixture.json | ./bin/{{.BINARY}} >/dev/null; done
echo "=== Pure Go (100 runs) ==="
time for i in $(seq 1 100); do cat test/fixture.json | ./bin/{{.BINARY}} >/dev/null; done
tidy:
desc: Run go mod tidy