Logo
Explore Help
Register Sign In
joe/notfiles
1
0
Fork 0
You've already forked notfiles
Code Issues 6 Pull Requests Actions Packages Projects Releases Wiki Activity
Files
bdc6582aea77aa4d4d9cb24e1d58b6ad3e8c7499
notfiles/.claude/settings.json

26 lines
485 B
JSON
Raw Normal View History

refactor(nothooks): make hook runner language-agnostic Remove hardcoded nu interpreter. HookSpec gains an optional interpreter field; runner infers from file extension (.sh, .nu, .py, .rb, .zsh, .bash) when not set. Integration tests now use sh — no nu runtime dep on CI.
2026-04-04 01:14:29 -04:00
{
"hooks": {
fix(notfiles): save state on partial link failure; skip re-copy of unchanged files Closes #8, closes #9
2026-04-11 23:40:32 -04:00
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "nu /Users/joe/dev/notfiles/scripts/preflight.nu"
}
]
}
],
refactor(nothooks): make hook runner language-agnostic Remove hardcoded nu interpreter. HookSpec gains an optional interpreter field; runner infers from file extension (.sh, .nu, .py, .rb, .zsh, .bash) when not set. Integration tests now use sh — no nu runtime dep on CI.
2026-04-04 01:14:29 -04:00
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "bash -c 'if [ -f Cargo.toml ]; then cargo check --quiet 2>&1 | head -20; fi'"
}
]
}
]
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 85ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API