2020-02-11 18:23:53 +03:00
|
|
|
cabal-version: 2.4
|
2020-02-11 17:30:02 +03:00
|
|
|
|
|
|
|
name: semantic-php
|
2020-02-11 18:23:53 +03:00
|
|
|
version: 0.0.0.0
|
2020-02-11 18:27:28 +03:00
|
|
|
synopsis: Semantic support for PHP.
|
|
|
|
description: Semantic support for PHP using the semantic-core intermediate language.
|
|
|
|
homepage: https://github.com/github/semantic/tree/master/semantic-php#readme
|
2020-02-11 18:23:53 +03:00
|
|
|
bug-reports: https://github.com/github/semantic/issues
|
|
|
|
license: MIT
|
2020-02-11 17:30:02 +03:00
|
|
|
license-file: LICENSE
|
2020-02-11 18:23:53 +03:00
|
|
|
author: The Semantic authors
|
|
|
|
maintainer: opensource+semantic@github.com
|
|
|
|
copyright: (c) 2019 GitHub, Inc.
|
|
|
|
category: Language
|
2020-02-11 17:30:02 +03:00
|
|
|
build-type: Simple
|
2020-02-11 18:23:53 +03:00
|
|
|
stability: alpha
|
|
|
|
extra-source-files: README.md
|
2020-02-11 17:30:02 +03:00
|
|
|
|
2020-02-11 18:23:53 +03:00
|
|
|
tested-with: GHC == 8.6.5
|
|
|
|
|
|
|
|
common haskell
|
2020-02-11 17:30:02 +03:00
|
|
|
default-language: Haskell2010
|
2020-02-11 18:23:53 +03:00
|
|
|
build-depends: base ^>= 4.13
|
|
|
|
, fused-effects ^>= 1.0
|
|
|
|
, fused-syntax
|
|
|
|
, parsers ^>= 0.12.10
|
|
|
|
, semantic-ast
|
|
|
|
, semantic-core ^>= 0.0
|
2020-03-23 23:40:50 +03:00
|
|
|
, semantic-source ^>= 0.1.0
|
2020-02-11 18:23:53 +03:00
|
|
|
, semantic-tags ^>= 0.0
|
|
|
|
, template-haskell ^>= 2.15
|
|
|
|
, text ^>= 1.2.3
|
|
|
|
, tree-sitter ^>= 0.9
|
2020-06-09 17:42:36 +03:00
|
|
|
, tree-sitter-php ^>= 0.5.0.0
|
2020-02-11 18:23:53 +03:00
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
-Weverything
|
|
|
|
-Wno-missing-local-signatures
|
|
|
|
-Wno-missing-import-lists
|
|
|
|
-Wno-implicit-prelude
|
|
|
|
-Wno-safe
|
|
|
|
-Wno-unsafe
|
|
|
|
-Wno-name-shadowing
|
|
|
|
-Wno-monomorphism-restriction
|
|
|
|
-Wno-missed-specialisations
|
|
|
|
-Wno-all-missed-specialisations
|
|
|
|
-Wno-star-is-type
|
|
|
|
if (impl(ghc >= 8.8))
|
|
|
|
ghc-options: -Wno-missing-deriving-strategies
|
|
|
|
|
|
|
|
library
|
|
|
|
import: haskell
|
|
|
|
exposed-modules:
|
|
|
|
Language.PHP
|
|
|
|
Language.PHP.AST
|
|
|
|
Language.PHP.Grammar
|
2020-02-19 22:16:42 +03:00
|
|
|
Language.PHP.Tags
|
2020-02-11 18:23:53 +03:00
|
|
|
hs-source-dirs: src
|