packages feed

ghc-time-alloc-prof-0.1.0: ghc-time-alloc-prof.cabal

name: ghc-time-alloc-prof
version: 0.1.0
synopsis: Library for parsing GHC time and allocation profiling reports
description: Library for parsing GHC time and allocation profiling reports
homepage: https://github.com/maoe/ghc-time-alloc-prof
license: BSD3
license-file: LICENSE
author: Mitsutoshi Aoe
maintainer: Mitsutoshi Aoe <maoe@foldr.in>
copyright: Copyright (C) 2013-2016 Mitsutoshi Aoe
category: Development
build-type: Simple
cabal-version: >=1.10
tested-with: GHC >= 7.6 && <= 8.0.1

flag dump
  description: Build the executable "dump"
  default: False

library
  exposed-modules:
    GHC.RTS.TimeAllocProfile
    GHC.RTS.TimeAllocProfile.Parser
    GHC.RTS.TimeAllocProfile.Types
    GHC.RTS.TimeAllocProfile.CostCentreTree
  build-depends:
      base == 4.*
    , attoparsec
    , containers
    , text
    , time
  hs-source-dirs: src
  ghc-options: -Wall
  default-language: Haskell2010

executable dump
  if flag(dump)
    buildable: True
  else
    buildable: False

  main-is: dump.hs
  hs-source-dirs: bin
  build-depends:
      base
    , attoparsec
    , containers
    , ghc-time-alloc-prof
    , text
  ghc-options: -Wall -rtsopts
  default-language: Haskell2010

test-suite regression
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: Regression.hs
  build-depends:
      attoparsec >= 0.10 && < 0.14
    , base
    , directory
    , filepath
    , ghc-time-alloc-prof
    , process
    , tasty < 0.12
    , tasty-hunit >= 0.9.1 && < 0.10
    , temporary
    , text
  ghc-options: -Wall
  if impl(ghc >= 8.0)
    ghc-options: -Wno-unused-imports
  default-language: Haskell2010

source-repository head
  type: git
  location: https://github.com/maoe/ghc-time-alloc-prof.git