From 87dc1097553a562c585a8ae3982a911d1c4f51e1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 9 Nov 2026 19:41:07 +0900 Subject: internal/rosa: drop more unused directories These are not part of hakurei, and it is pointless to rebuild when they are changed. This change drops them from loaded source. Signed-off-by: Ophestra --- internal/rosa/state.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 83c904ec..f8cffce7 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -1466,7 +1466,11 @@ func (s *S) SetSource(fsys fs.FS) error { return err } - if d.IsDir() && d.Name() == ".git" { + if d.IsDir() && slices.Contains([]string{ + ".git", + "internal/rosa", + "cmd/mbf", + }, path) { return fs.SkipDir } -- cgit v1.3.1