1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00
semantic/semantic-source/semantic-source.cabal

90 lines
2.2 KiB
Plaintext
Raw Normal View History

2019-09-20 19:03:14 +03:00
cabal-version: 2.4
name: semantic-source
2019-10-03 18:31:19 +03:00
version: 0.0.0.1
2019-09-20 19:03:14 +03:00
synopsis: Types and functionality for working with source code
description: Types and functionality for working with source code (program text).
homepage: https://github.com/github/semantic/tree/master/semantic-source#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: Data
build-type: Simple
stability: alpha
extra-source-files:
2019-10-03 18:30:09 +03:00
CHANGELOG.md
2019-09-20 19:03:14 +03:00
README.md
tested-with:
GHC == 8.6.5
2019-10-03 18:29:45 +03:00
GHC == 8.8.1
2019-09-20 19:03:14 +03:00
common haskell
2019-09-20 19:03:14 +03:00
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-20 19:03:14 +03:00
library
import: haskell
2019-09-20 20:33:21 +03:00
exposed-modules:
2019-09-20 21:16:42 +03:00
Source.Loc
2019-09-20 20:33:21 +03:00
Source.Range
2019-09-20 22:13:50 +03:00
Source.Source
2019-09-20 21:00:33 +03:00
Source.Span
2019-09-20 19:03:14 +03:00
build-depends:
2019-09-20 21:16:42 +03:00
aeson ^>= 1.4.2.0
2019-12-13 23:48:49 +03:00
, base >= 4.13 && < 5
2019-09-20 22:13:50 +03:00
, bytestring ^>= 0.10.8.2
2019-09-20 21:16:42 +03:00
, deepseq ^>= 1.4.4.0
, generic-monoid ^>= 0.1.0.0
2019-10-03 18:26:44 +03:00
, hashable >= 1.2.7 && < 1.4
2019-09-20 21:16:42 +03:00
, semilattices ^>= 0.0.0.3
2019-09-20 22:13:50 +03:00
, text ^>= 1.2.3.1
2019-09-20 19:03:14 +03:00
hs-source-dirs: src
test-suite doctest
import: haskell
2019-09-20 19:03:14 +03:00
type: exitcode-stdio-1.0
main-is: Doctest.hs
build-depends:
base
2019-09-20 20:27:09 +03:00
, doctest >= 0.7 && <1.0
2019-09-20 20:27:16 +03:00
, QuickCheck
2019-09-20 20:27:09 +03:00
, semantic-source
2019-09-20 19:03:14 +03:00
hs-source-dirs: test
2019-09-20 23:03:29 +03:00
test-suite test
import: haskell
2019-09-20 23:03:29 +03:00
type: exitcode-stdio-1.0
hs-source-dirs: test
2019-09-20 23:03:29 +03:00
main-is: Test.hs
other-modules:
Source.Test
build-depends:
base
, hedgehog ^>= 1
, semantic-source
, tasty >= 1.2 && <2
, tasty-hedgehog ^>= 1.0.0.1
, tasty-hunit >= 0.10 && <1
, text
2019-09-20 19:03:14 +03:00
source-repository head
type: git
location: https://github.com/github/semantic