Skip to content
Snippets Groups Projects

Drop ghc-haskell-org-hooks from linters image

Merged Ben Gamari requested to merge bgamari-master-patch-24036 into master
1 file
+ 0
13
Compare changes
  • Side-by-side
  • Inline
+ 0
13
@@ -328,18 +328,6 @@ let linterImages: List Image.Type =
# CF.run "installing mypy" [ "pip3 install mypy==0.701" ]
let lintersCommit: Text = "b376b0c20e033e71751fe2059daba1ba40b886be"
let installLinters: CF.Type =
[ CF.Statement.User "ghc" ]
# CF.run "cloning linter repository"
[ "git clone https://gitlab.haskell.org/ghc/git-haskell-org-hooks"
, "git -C git-haskell-org-hooks checkout ${lintersCommit}"
]
# CF.run "building linters"
[ "cd git-haskell-org-hooks"
, "$CABAL update"
, "$CABAL install -w $GHC"
]
# CF.env (toMap { PATH = "/home/ghc/.cabal/bin:$PATH" })
let installShellcheck: CF.Type =
installPackages [ "shellcheck" ]
in
@@ -348,7 +336,6 @@ let linterImages: List Image.Type =
# installMypy
# installShellcheck
# HaskellTools.installHLint
# installLinters
# [CF.Statement.User "ghc"]
}
]
Loading