-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
34 lines (28 loc) · 984 Bytes
/
taskfile.yaml
File metadata and controls
34 lines (28 loc) · 984 Bytes
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
---
version: "3"
tasks:
bat-cache-build:
desc: Build or rebuild bat cache
cmd: bat cache --build
generate-extra-completions:
desc: Generate usefull completions
vars:
COMPLETIONS_DIR:
sh: echo "$XDG_DATA_HOME/zsh/site-functions"
cmds:
- if [[ ! -d {{.COMPLETIONS_DIR}} ]]; then mkdir -p {{.COMPLETIONS_DIR}}; fi
- uv generate-shell-completion zsh >! {{.COMPLETIONS_DIR}}/_uv
- op completion zsh >! {{.COMPLETIONS_DIR}}/_op
- kaf completion zsh >! {{.COMPLETIONS_DIR}}/_kaf
- opencode completion >! {{.COMPLETIONS_DIR}}/_opencode
install-submodules:
desc: Install all git submodules
cmd: git submodule update --init --recursive
stow-essential:
desc: Run stow with essential entities
cmds:
- cmd: stow stow
- cmd: cat ./stow/darwin-essential | xargs -I {} stow {}
platforms: [darwin]
- cmd: cat ./stow/linux-essential | xargs -I {} stow {}
platforms: [linux]