summaryrefslogtreecommitdiff
path: root/cabal.project-reinstall
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-18 17:27:32 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-24 20:25:06 -0500
commit6555b68ca0678827b89c5624db071f5a485d18b7 (patch)
tree9dbcd231add48a179d7751606523865029d2fc1a /cabal.project-reinstall
parent06c18990fb6f10aaf1907ba8f0fe3f1a138da159 (diff)
downloadhaskell-6555b68ca0678827b89c5624db071f5a485d18b7.tar.gz
Move linters into the tree
This MR moves the GHC linters into the tree, so that they can be run directly using Hadrian. * Query all files tracked by Git instead of using changed files, so that we can run the exact same linting step locally and in a merge request. * Only check that the changelogs don't contain TBA when RELEASE=YES. * Add hadrian/lint script, which runs all the linting steps. * Ensure the hlint job exits with a failure if hlint is not installed (otherwise we were ignoring the failure). Given that hlint doesn't seem to be available in CI at the moment, I've temporarily allowed failure in the hlint job. * Run all linting tests in CI using hadrian.
Diffstat (limited to 'cabal.project-reinstall')
-rw-r--r--cabal.project-reinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/cabal.project-reinstall b/cabal.project-reinstall
index e026e70a5d..aa6fc0c47e 100644
--- a/cabal.project-reinstall
+++ b/cabal.project-reinstall
@@ -46,6 +46,7 @@ packages: ./compiler
./utils/runghc
./utils/unlit
./utils/iserv
+ ./linters/**/*.cabal
constraints: ghc +internal-interpreter +dynamic-system-linke +terminfo,
ghc-bin +internal-interpreter +threaded,