summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-04-01 15:19:49 -0400
committerBen Sima <ben@bsima.me>2024-04-01 15:19:49 -0400
commit2d40ec3a03f4684f6fabba7dee2981c992a13785 (patch)
tree1edc1522fd5eb8e6d20b1b4dbde89f3e49ad9e51 /Biz/Bild.hs
parentdb373a8c727cad91d375b40a6c70b11ed73bdafb (diff)
Rename .bash files to .sh
I was already using .sh to refer to shell scripts. When I added .bash, I didn't realize that the linter was set to act on .sh files and not .bash files, so all of these bash scripts escaped the linter. This commit renames them to .sh, removes the .bash extension support from Biz.Namespace, and fixes all the reported shellcheck errors.
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r--Biz/Bild.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 967dfbf..15f2700 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -420,7 +420,6 @@ instance ToNixFlag Builder where
-- | We can't build everything yet...
isBuildableNs :: Namespace -> Bool
isBuildableNs = \case
- (Namespace _ Namespace.Bash) -> False
(Namespace _ Namespace.C) -> True
(Namespace _ Namespace.Css) -> False
(Namespace _ Namespace.Hs) -> True
@@ -519,7 +518,6 @@ analyze hmap ns = case Map.lookup ns hmap of
/> Text.lines
case ext of
-- basically we don't support building these
- Namespace.Bash -> pure Nothing
Namespace.Css -> pure Nothing
Namespace.Json -> pure Nothing
Namespace.Keys -> pure Nothing