generated from kachick/anylang-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
49 lines (47 loc) · 1.03 KB
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# https://taskfile.dev
version: '3'
tasks:
default:
deps:
- task: fmt
- task: lint
- task: test
check:
deps:
- task: test
- task: lint
test:
deps:
- setup
cmds:
- pwsh -NoProfile --File ./tools/test-all.ps1
- pwsh -NoProfile --Command '$PSNativeCommandUseErrorActionPreference = $true; $ErrorActionPreference = "Stop"; Test-ModuleManifest -Path ./PSFzfHistory/*.psd1'
fmt:
deps:
- setup
cmds:
- dprint fmt
- git ls-files '*.nix' | xargs nix fmt
- pwsh -File ./tools/lint-fix.ps1
lint:
cmds:
- dprint check
- typos . .github .vscode
- git ls-files '*.nix' | xargs nixfmt --check
repl:
cmds:
- pwsh -NoProfile -NoExit -File ./tools/repl.ps1
setup:
cmds:
- pwsh -NoProfile -File ./tools/setup.ps1
bench:
deps:
- setup
cmds:
- pwsh -NoProfile -File ./tools/benchmark.ps1
deps:
cmds:
- pwsh -NoProfile -File ./tools/deps.ps1
help:
cmds:
- task --list-all