install.fairie/.config/taskfiles/common/Taskfile-code.yml
Brian Zalewski f42899b107 Latest
2022-12-24 15:04:59 -05:00

25 lines
750 B
YAML

---
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}}