install.fairie/.config/taskfiles/common/Taskfile-code.yml

26 lines
750 B
YAML
Raw Normal View History

2022-12-24 12:04:59 -08:00
---
version: '3'
tasks:
count:
deps:
- :install:software:tokei
desc: Display a chart detailing the lines of code for each language used
log:
error: Encountered error while running `tokei . --exclude .common .modules`
start: Analyzing project for code-language statistics
cmds:
- tokei . --exclude .common .modules
find:todo:
deps:
- :install:npm:leasot
desc: Scan code base for TODOs and FIXMEs
vars:
LEASOT_IGNORE: .common .modules .venv node_modules venv
log:
error: Encountered error while running `leasot --ignore {{.LEASOT_IGNORE}} {{.CLI_ARGS}}`
start: Scanning project for TODOs and FIXMEs
cmds:
- leasot --ignore {{.LEASOT_IGNORE}} {{.CLI_ARGS}}