stopwatch-0.1.0.1: stopwatch.cabal
name: stopwatch
version: 0.1.0.1
author: Toshio Ito <debug.ito@gmail.com>
maintainer: Toshio Ito <debug.ito@gmail.com>
license: BSD3
license-file: LICENSE
synopsis: A simple stopwatch utility
description: A simple stopwatch utility
category: Control
cabal-version: >= 1.10
build-type: Simple
extra-source-files: README.md, ChangeLog.md
homepage: https://github.com/debug-ito/stopwatch
bug-reports: https://github.com/debug-ito/stopwatch/issues
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fno-warn-unused-imports
exposed-modules: Control.StopWatch
-- other-modules:
build-depends: base >=2 && <6,
transformers >=0.3.0 && <0.6,
-- clock <0.5 is buggy!
clock >=0.5 && <0.8
-- executable stopwatch
-- default-language: Haskell2010
-- hs-source-dirs: src
-- main-is: Main.hs
-- ghc-options: -Wall
-- -- other-modules:
-- -- other-extensions:
-- build-depends: base >=4 && <5
flag test_delay_upper_bound
description: Enable test of checking delay upper bound
default: False
flag test_threaded
description: Enable -threaded option when building the test
default: False
test-suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
if flag(test_threaded)
ghc-options: -Wall -fno-warn-unused-imports "-with-rtsopts=-M512m" -threaded
else
ghc-options: -Wall -fno-warn-unused-imports "-with-rtsopts=-M512m"
if flag(test_delay_upper_bound)
cpp-options: -DTEST_DELAY_UPPER_BOUND
main-is: Spec.hs
other-modules: Control.StopWatchSpec
build-depends: base, stopwatch,
hspec <2.3,
clock
source-repository head
type: git
location: https://github.com/debug-ito/stopwatch.git