summaryrefslogtreecommitdiff
path: root/Omni/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-22 20:45:12 -0500
committerBen Sima <ben@bensima.com>2025-12-22 20:45:12 -0500
commit3f8d69dfa6d680e328cbc218cbb20327e506722b (patch)
tree4526191e2fd8cda794c27796419cdc4cf051a790 /Omni/Bild.hs
parent99fe1c1cd540aea8054efe4f162e858df658d016 (diff)
Omni/Namespace,Bild: add support for .ctags files
- Add Ctags extension type to Namespace.Ext - Allow dots in namespace path components for .ctags.d directories - Mark ctags files as non-buildable in bild - Fixes CI failure when processing .ctags.d/base.ctags 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'Omni/Bild.hs')
-rw-r--r--Omni/Bild.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Omni/Bild.hs b/Omni/Bild.hs
index 1ebeb05..fcf959f 100644
--- a/Omni/Bild.hs
+++ b/Omni/Bild.hs
@@ -503,6 +503,7 @@ instance ToNixFlag Builder where
isBuildableNs :: Namespace -> Bool
isBuildableNs = \case
(Namespace _ Namespace.C) -> True
+ (Namespace _ Namespace.Ctags) -> False
(Namespace _ Namespace.Css) -> False
(Namespace _ Namespace.Hs) -> True
(Namespace _ Namespace.Html) -> False
@@ -584,6 +585,7 @@ analyzeOne namespace@(Namespace parts ext) = do
let defaultOut = isExe ?: (Just <| Namespace.dotSeparated parts, Nothing)
case ext of
Namespace.Css -> pure Nothing
+ Namespace.Ctags -> pure Nothing
Namespace.Json -> pure Nothing
Namespace.Keys -> pure Nothing
Namespace.Md -> pure Nothing