mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-09 09:49:09 +02:00
chore: add a taskfile
This commit is contained in:
parent
23f9873f6a
commit
c48ee3d98c
1 changed files with 23 additions and 0 deletions
23
Taskfile.yaml
Normal file
23
Taskfile.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
# https://taskfile.dev
|
||||||
|
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
lint:
|
||||||
|
desc: Run base linters
|
||||||
|
cmds:
|
||||||
|
- golangci-lint run
|
||||||
|
|
||||||
|
test:
|
||||||
|
desc: Run tests
|
||||||
|
cmds:
|
||||||
|
- go test ./... {{.CLI_ARGS}}
|
||||||
|
|
||||||
|
log:
|
||||||
|
desc: Watch for glow logs
|
||||||
|
aliases: [tail]
|
||||||
|
cmds:
|
||||||
|
- cmd: tail -f ~/Library/Caches/glow/glow.log
|
||||||
|
platforms: [darwin]
|
||||||
|
- cmd: tail -f ~/.cache/glow/glow.log
|
||||||
|
platforms: [linux, windows]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue