Hannes Siebenhandl pushed to branch wip/fendor/dep-json at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • docs/users_guide/make-depends-json-schema-1_0.json
    ... ... @@ -60,7 +60,16 @@
    60 60
           "type": "string"
    
    61 61
         },
    
    62 62
         "home-module-preprocessor": {
    
    63
    -      "type": "string"
    
    63
    +      "type": "object",
    
    64
    +      "properties": {
    
    65
    +        "command": {
    
    66
    +          "type": "string"
    
    67
    +        },
    
    68
    +        "arguments": {
    
    69
    +          "type": "array",
    
    70
    +          "items": { "type": "string" }
    
    71
    +        }
    
    72
    +      }
    
    64 73
         },
    
    65 74
         "import": {
    
    66 75
           "oneOf": [
    

  • testsuite/tests/driver/mkdepend/mkdepend_mhu02.dep-json
    1 1
     {"module":"A","unit-id":"a-1.0.0-XXX","imports":{},"package-name":"a","source":"mhu02/A.hs"}
    
    2
    -{"module":"B","unit-id":"b-0.1.0-XXX","imports":{},"package-name":"b","source":"mhu02/B.hs","preprocessor":"./mhu02/pp.sh"}
    2
    +{"module":"B","unit-id":"b-0.1.0-XXX","imports":{},"package-name":"b","source":"mhu02/B.hs","preprocessor":{"command":"./mhu02/pp.sh"}}

  • testsuite/tests/driver/mkdepend/mkdepend_mhu03.dep-json
    1
    -{"module":"A","unit-id":"a","imports":{},"source":"mhu03/pkg/A.hs","preprocessor":"./mhu03/pkg/pp.sh"}
    1
    +{"module":"A","unit-id":"a","imports":{},"source":"mhu03/pkg/A.hs","preprocessor":{"command":"./mhu03/pkg/pp.sh"}}