2019-12-17 00:56:34 +03:00
|
|
|
cabal-version: 2.4
|
|
|
|
|
|
|
|
name: semantic-ruby
|
|
|
|
version: 0.0.0.0
|
|
|
|
synopsis: Semantic support for Ruby.
|
|
|
|
description: Semantic support for Ruby using the semantic-core intermediate language.
|
|
|
|
homepage: https://github.com/github/semantic/tree/master/semantic-ruby#readme
|
|
|
|
bug-reports: https://github.com/github/semantic/issues
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
author: The Semantic authors
|
|
|
|
maintainer: opensource+semantic@github.com
|
|
|
|
copyright: (c) 2019 GitHub, Inc.
|
|
|
|
category: Language
|
|
|
|
build-type: Simple
|
|
|
|
stability: alpha
|
|
|
|
extra-source-files: README.md
|
|
|
|
|
|
|
|
tested-with: GHC == 8.6.5
|
|
|
|
|
|
|
|
common haskell
|
|
|
|
default-language: Haskell2010
|
2019-12-18 21:15:43 +03:00
|
|
|
build-depends: base ^>= 4.13
|
2019-12-17 00:56:34 +03:00
|
|
|
, fused-effects ^>= 1.0
|
|
|
|
, fused-syntax
|
|
|
|
, parsers ^>= 0.12.10
|
|
|
|
, semantic-core ^>= 0.0
|
|
|
|
, semantic-source ^>= 0.0
|
|
|
|
, semantic-tags ^>= 0.0
|
|
|
|
, text ^>= 1.2.3
|
2019-12-18 21:26:32 +03:00
|
|
|
, tree-sitter ^>= 0.7.2
|
|
|
|
, tree-sitter-ruby ^>= 0.4
|
2019-12-17 00:56:34 +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
|
2019-12-18 21:15:43 +03:00
|
|
|
if (impl(ghc >= 8.8))
|
|
|
|
ghc-options: -Wno-missing-deriving-strategies
|
2019-12-17 00:56:34 +03:00
|
|
|
|
|
|
|
library
|
|
|
|
import: haskell
|
|
|
|
exposed-modules:
|
|
|
|
Language.Ruby
|
|
|
|
Language.Ruby.Tags
|
|
|
|
hs-source-dirs: src
|