-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
57 lines (44 loc) · 1.64 KB
/
justfile
File metadata and controls
57 lines (44 loc) · 1.64 KB
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
50
51
52
53
54
55
56
57
# Install OpenCode dependencies.
install-opencode:
pnpm install --dir .config/opencode
# Install dependencies for OpenCode plugins.
install-opencode-plugins:
bun install --cwd .config/opencode/plugins
# Restart user daemons used by the desktop setup.
restart-daemons:
bash .config/hypr/scripts/restart-daemons.sh
# Sync docs cache metadata.
update-docs:
pnpx docs-cache@latest sync
# Run core local validation checks.
validate-core:
stow -n .
fish -c "source ~/.config/fish/config.fish"
nvim --headless +checkhealth +qa
# Run Lua diagnostics and config tests. Mode: baseline, changed, staged, ci.
lua-quality mode="baseline":
bash scripts/lua-quality.sh {{mode}}
# Report Lua formatting drift without writing files. Scope: changed, staged, all.
lua-style scope="changed":
bash scripts/lua-quality.sh style-{{scope}}
# Check Fish scripts for syntax errors.
fish-syntax:
bash -lc 'shopt -s globstar nullglob; fish -n .config/fish/**/*.fish'
# Run shellcheck on shell scripts.
shellcheck:
shellcheck scripts/*.sh .config/ags/*.sh .config/ags/scripts/*.sh .config/hypr/scripts/*.sh .config/rofi/launchers/type-3/launcher.sh .config/vicinae/extensions/*.sh
# Build Vicinae extensions.
vicinae-build:
bash ./scripts/vicinae-build-extensions.sh
# Lint Vicinae extensions.
vicinae-lint:
bash -lc 'cd .config/vicinae/extensions && pnpm exec vici lint'
# Validate Hyprland config on Linux.
hypr-validate:
bash -lc 'if [ "$(uname)" = "Linux" ]; then hyprctl configerrors; fi'
# Regenerate AGS type definitions.
ags-types:
bash -lc 'cd .config/ags && ags types'
# Validate Glance YAML configuration.
glance-validate:
bash .config/glance/scripts/validate-yaml.sh