Skip to content
  • sheaf's avatar
    a38ae69a
    lint-codes: add Hadrian targets · a38ae69a
    sheaf authored and Marge Bot's avatar Marge Bot committed
    This commit adds new Hadrian targets:
    
      codes, codes:used - list all used diagnostic codes
      codes:outdated - list outdated diagnostic codes
    
    This allows users to easily query GHC for used and outdated
    diagnostic codes, e.g.
    
      hadrian/build -j --flavour=<..> codes
    
    will list all used diagnostic codes in the command line by running
    the lint-codes utility in the "list codes" mode of operation.
    
    The diagnostic code consistency and coverage test is still run as usual,
    through the testsuite:
    
      hadrian/build test --only="codes"
    a38ae69a
    lint-codes: add Hadrian targets
    sheaf authored and Marge Bot's avatar Marge Bot committed
    This commit adds new Hadrian targets:
    
      codes, codes:used - list all used diagnostic codes
      codes:outdated - list outdated diagnostic codes
    
    This allows users to easily query GHC for used and outdated
    diagnostic codes, e.g.
    
      hadrian/build -j --flavour=<..> codes
    
    will list all used diagnostic codes in the command line by running
    the lint-codes utility in the "list codes" mode of operation.
    
    The diagnostic code consistency and coverage test is still run as usual,
    through the testsuite:
    
      hadrian/build test --only="codes"
Loading