2019-09-10 21:07:58 +03:00
|
|
|
cabal-version: 2.4
|
|
|
|
-- Initial package description 'semantic-ast.cabal' generated by 'cabal
|
|
|
|
-- init'. For further documentation, see
|
|
|
|
-- http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
name: semantic-ast
|
|
|
|
version: 0.1.0.0
|
|
|
|
-- synopsis:
|
|
|
|
-- description:
|
|
|
|
-- bug-reports:
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
author: The Semantic Authors
|
|
|
|
maintainer: opensource+semantic@github.com
|
2019-10-16 21:02:04 +03:00
|
|
|
copyright: (c) 2019 GitHub, Inc.
|
2019-09-10 21:07:58 +03:00
|
|
|
category: Language
|
|
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
|
2019-10-21 20:30:57 +03:00
|
|
|
tested-with: GHC == 8.6.5
|
|
|
|
|
2019-11-19 23:38:55 +03:00
|
|
|
common haskell
|
|
|
|
default-language: Haskell2010
|
|
|
|
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
|
|
|
|
|
2019-09-10 21:07:58 +03:00
|
|
|
library
|
2019-11-19 23:38:55 +03:00
|
|
|
import: haskell
|
2019-10-10 22:00:19 +03:00
|
|
|
exposed-modules:
|
2019-09-10 21:07:58 +03:00
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2019-12-10 21:32:56 +03:00
|
|
|
build-depends: base >= 4.12 && < 4.14
|
2019-12-10 22:03:07 +03:00
|
|
|
, tree-sitter ^>= 0.7
|
2019-10-01 22:37:56 +03:00
|
|
|
, semantic-source ^>= 0.0
|
2019-12-10 22:03:07 +03:00
|
|
|
, tree-sitter-python ^>= 0.8
|
2019-10-16 21:07:12 +03:00
|
|
|
, bytestring ^>= 0.10.8.2
|
2019-12-10 21:32:56 +03:00
|
|
|
, optparse-applicative >= 0.14.3 && < 0.16
|
2019-10-18 18:23:01 +03:00
|
|
|
, pretty-simple ^>= 3.1.0.0
|
2019-09-10 21:07:58 +03:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
executable semantic-ast
|
2019-11-19 23:38:55 +03:00
|
|
|
import: haskell
|
2019-09-10 21:07:58 +03:00
|
|
|
main-is: Main.hs
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2019-12-10 21:32:56 +03:00
|
|
|
build-depends: base
|
2019-10-10 22:00:19 +03:00
|
|
|
, semantic-ast
|
2019-12-10 21:32:56 +03:00
|
|
|
, tree-sitter
|
|
|
|
, semantic-source
|
|
|
|
, tree-sitter-python
|
|
|
|
, bytestring
|
|
|
|
, optparse-applicative
|
|
|
|
, pretty-simple
|
2019-09-10 21:07:58 +03:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|