This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/Taskfile.yaml

37 lines
593 B
YAML
Raw Normal View History

2024-03-17 05:44:51 -05:00
---
# go-task runner file - rest of config in .taskfiles/**.*.yaml
2024-03-17 05:44:51 -05:00
version: "3"
includes:
2024-03-17 15:42:52 -05:00
sop:
2024-03-17 05:44:51 -05:00
taskfile: ".taskfiles/sops"
dir: .taskfiles/sops
nix:
taskfile: ".taskfiles/nix"
dir: "{{.ROOT_DIR}}"
2024-03-17 15:42:52 -05:00
pre:
taskfile: ".taskfiles/pre-commit"
dir: "{{.ROOT_DOR}}"
2024-03-17 05:44:51 -05:00
tasks:
default:
silent: true
cmds:
2024-03-17 15:42:52 -05:00
- task -l
2024-03-18 04:06:00 -05:00
lint:
desc: Run statix lint
cmds:
- statix check .
check:
desc: Check project files
cmds:
- task: lint
- task: pc-run
2024-03-18 04:26:02 -05:00
format:
desc: Check project files
cmds:
- nixpkgs-fmt {{.ROOT_DIR}}