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
2024-03-18 20:26:02 +11:00

35 lines
530 B
YAML

---
version: "3"
includes:
sop:
taskfile: ".taskfiles/sops"
dir: .taskfiles/sops
nix:
taskfile: ".taskfiles/nix"
dir: "{{.ROOT_DIR}}"
pre:
taskfile: ".taskfiles/pre-commit"
dir: "{{.ROOT_DOR}}"
tasks:
default:
silent: true
cmds:
- task -l
lint:
desc: Run statix lint
cmds:
- statix check .
check:
desc: Check project files
cmds:
- task: lint
- task: pc-run
format:
desc: Check project files
cmds:
- nixpkgs-fmt {{.ROOT_DIR}}