huskies: rename project from storkit to huskies
Rename all references from storkit to huskies across the codebase: - .storkit/ directory → .huskies/ - Binary name, Cargo package name, Docker image references - Server code, frontend code, config files, scripts - Fix script/test to build frontend before cargo clippy/test so merge worktrees have frontend/dist available for RustEmbed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ const SKIP_DIRS: &[&str] = &[
|
||||
];
|
||||
|
||||
/// Path components that indicate a worktree path that should be skipped.
|
||||
const SKIP_PATH_COMPONENTS: &[&str] = &[".storkit/worktrees"];
|
||||
const SKIP_PATH_COMPONENTS: &[&str] = &[".huskies/worktrees"];
|
||||
|
||||
/// Known-huge or machine-generated files that are excluded from the loc count
|
||||
/// even when they have a recognised source extension (e.g. `.json`, `.yaml`).
|
||||
@@ -88,10 +88,10 @@ fn loc_top_n(project_root: &std::path::Path, top_n: usize) -> String {
|
||||
if SKIP_DIRS.iter().any(|s| *s == name.as_ref()) {
|
||||
return false;
|
||||
}
|
||||
// Skip .storkit/worktrees — use relative path so the check
|
||||
// Skip .huskies/worktrees — use relative path so the check
|
||||
// doesn't exclude the project root itself when running
|
||||
// from inside a worktree (where the absolute path contains
|
||||
// ".storkit/worktrees").
|
||||
// ".huskies/worktrees").
|
||||
let rel = e
|
||||
.path()
|
||||
.strip_prefix(project_root)
|
||||
@@ -332,7 +332,7 @@ mod tests {
|
||||
let ctx = make_ctx(&agents, &ambient_rooms, repo_root, "");
|
||||
let output = handle_loc(&ctx).unwrap();
|
||||
assert!(
|
||||
!output.contains(".storkit/worktrees"),
|
||||
!output.contains(".huskies/worktrees"),
|
||||
"output must not include paths inside worktrees: {output}"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user