repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

mise.toml

Raw
File outline
[tools]
java = "latest"

[task_config]
shell = "java scripts/mise_shell.java"

[tasks.default]
description = "List tasks"
hide = true
run = 'run("mise", "tasks", "ls");'

[tasks.check]
description = "Verify crypto, hooks, secrets, and symlink manifests"
run = 'run("java", "bootstripper.java", "check");'

[tasks.ci]
description = "Run committed-state Podman CI check"
run = 'run("java", "./scripts/dotfiles_integration_test.java");'

[tasks.ci-check]
description = "Run the CI check suite"
hide = true
run = 'run("java", "./scripts/dotfiles_integration_test.java", "--inside");'

[tasks.crypto-test]
description = "Run focused crypto integration tests"
hide = true
run = 'run("java", "./scripts/dotfiles_integration_test.java", "--crypto");'

[tasks.link]
description = "Validate manifests and link dorkfiles into HOME"
run = 'run("java", "bootstripper.java", "link");'

[tasks.setup-crypto]
description = "Configure crypto and decrypt unchanged checkout secrets; refuse local changes"
run = 'run("java", "bootstripper.java", "setup-crypto");'

[tasks.clean]
description = "Remove managed dorkfiles links from HOME"
run = 'run("java", "bootstripper.java", "clean");'

[tasks.init]
description = "Create initial crypto salt"
hide = true
run = 'run("java", "bootstripper.java", "init-crypto");'

[tasks.hook]
description = "Install Git hooks"
hide = true
run = 'run("java", "bootstripper.java", "install-hooks");'

[tasks.fix]
description = "Fix local file permissions"
hide = true
run = 'run("java", "scripts/fix_permissions.java");'

[tasks.wiki-test]
description = "Test Wiki skill and prompt contracts"
run = 'run("npm", "--prefix", "pi/agent/skills/wiki", "test");'

[tasks.niri-test]
description = "Test Niri modernization inspector, Nugu generation, and config loading"
run = '''
run("node", "--test", "niri/.pi/skills/modernize/scripts/inspect.test.mjs");
run("node", "--test", "niri/config.test.mjs", "niri/theme.test.mjs");
run("niri", "validate", "-c", "niri/config.kdl");
'''

[tasks.wezterm-test]
description = "Test WezTerm helpers, modernization inspector, and config loading"
run = '''
run("node", "--test", "wezterm/.pi/skills/modernize/scripts/inspect.test.mjs");
run("lua", "wezterm/tests/modules_test.lua");
run("nu", "--no-config-file", "wezterm/tests/wezterm_instances_test.nu");
run("wezterm", "--config-file", "wezterm/wezterm.lua", "show-keys", "--lua");
'''