Skip to content

Commit

Permalink
BLD Add cabal file as per newer recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Aug 20, 2020
1 parent bd4232d commit 4017b31
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,3 +1,2 @@
.stack-work/
stack.yaml.lock
IntervalIntMap.cabal
76 changes: 76 additions & 0 deletions int-interval-map.cabal
@@ -0,0 +1,76 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 3e25211fda12be9cd8790702dd7b4d2ab2a46c1341bea82467bed1d635d99204

name: int-interval-map
version: 0.0.0.0
synopsis: Interval map
category: Data
homepage: https://github.com/luispedro/interval-to-int#readme
bug-reports: https://github.com/luispedro/interval-to-int/issues
author: Luis Pedro Coelho
maintainer: luis@luispedro.org
license: MIT
license-file: COPYING
build-type: Simple
extra-source-files:
README.md
ChangeLog

source-repository head
type: git
location: https://github.com/luispedro/interval-to-int

library
exposed-modules:
Data.IntervalIntMap
other-modules:
Data.IntervalIntMap.Internal.GrowableVector
Data.IntervalIntMap.Internal.IntervalIntIntMap
hs-source-dirs:
./
default-extensions: BangPatterns OverloadedStrings LambdaCase TupleSections CPP
ghc-options: -Wall -Wcompat -fwarn-tabs -fno-warn-missing-signatures -O2
build-depends:
base
, containers
, deepseq
, either
, primitive
, vector
, vector-algorithms
default-language: Haskell2010

test-suite interval-int-map-test
type: exitcode-stdio-1.0
main-is: Tests.hs
other-modules:
Data.IntervalIntMap
Data.IntervalIntMap.Internal.GrowableVector
Data.IntervalIntMap.Internal.IntervalIntIntMap
Paths_int_interval_map
hs-source-dirs:
./.
./tests
default-extensions: BangPatterns OverloadedStrings LambdaCase TupleSections CPP
ghc-options: -Wall -Wcompat -fwarn-tabs -fno-warn-missing-signatures -O2
cpp-options: -DIS_BUILDING_TEST
build-depends:
base
, containers
, deepseq
, either
, hedgehog
, primitive
, tasty
, tasty-hedgehog
, tasty-hunit
, tasty-quickcheck
, tasty-th
, vector
, vector-algorithms
default-language: Haskell2010
4 changes: 2 additions & 2 deletions package.yaml
@@ -1,7 +1,7 @@
name: IntervalIntMap
name: int-interval-map
version: '0.0.0.0'
synopsis: Interval map
category: Domain Specific Language
category: Data
author: Luis Pedro Coelho
maintainer: luis@luispedro.org
license: MIT
Expand Down

0 comments on commit 4017b31

Please sign in to comment.