[commit: ghc] master: Reenable external-json linters (a658ad9)

git at git.haskell.org git at git.haskell.org
Tue Mar 29 10:35:32 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a658ad9f5b9849296ac25225174dac6a700a235e/ghc

>---------------------------------------------------------------

commit a658ad9f5b9849296ac25225174dac6a700a235e
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Mon Mar 28 14:51:24 2016 +0200

    Reenable external-json linters
    
    This is to be merged once a fix for the Harbormaster build script has
    been applied.
    
    This reverts commit a14296c2660521db8ba965065687e45cee4e3401. These were
    previously disabled due to Harbormaster validation failures.
    
    Also, apply CPP check to .c and .h files in addition to Haskell sources.
    
    Test Plan: Let Harbormaster validate
    
    Reviewers: austin
    
    Reviewed By: austin
    
    Subscribers: hvr, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1580


>---------------------------------------------------------------

a658ad9f5b9849296ac25225174dac6a700a235e
 .arcconfig | 6 +++++-
 .arclint   | 9 +++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/.arcconfig b/.arcconfig
index b9c3932..c886789 100644
--- a/.arcconfig
+++ b/.arcconfig
@@ -1,5 +1,9 @@
 {
   "project.name"        : "ghc",
   "repository.callsign" : "GHC",
-  "phabricator.uri"     : "https://phabricator.haskell.org"
+  "phabricator.uri"     : "https://phabricator.haskell.org",
+
+  "load": [
+    ".arc-linters/arcanist-external-json-linter"
+  ]
 }
diff --git a/.arclint b/.arclint
index 8f83776..69644ea 100644
--- a/.arclint
+++ b/.arclint
@@ -52,6 +52,15 @@
       "severity": {
         "2": "disabled"
       }
+    },
+    "check-binaries": {
+      "type": "external-json",
+      "external-json.script": "python .arc-linters/check-binaries.py"
+    },
+    "bad-assert-clang-cpp": {
+      "type": "external-json",
+      "include": ["(\\.(l?hs|x|y\\.pp)(\\.in)?$)", "(\\.(c|h)$)"],
+      "external-json.script": "python .arc-linters/check-cpp.py"
     }
   },
 



More information about the ghc-commits mailing list