packages feed

miniterion-0.1.0.0: miniterion.cabal

cabal-version:      3.0
name:               miniterion

-- The package version.
-- See the Haskell package versioning policy (PVP) for standards
-- guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary:     +-+------- breaking API changes
--                  | | +----- non-breaking API additions
--                  | | | +--- code changes with no API change
version:            0.1.0.0

synopsis:           Simple and lightweight benchmark utilities

description:        Simple benchmark utilities with API subset from
                    @criterion@, depends on two packages: @base@ and @deepseq@.

license:            MIT
license-file:       LICENSE
author:             8c6794b6
maintainer:         8c6794b6@gmail.com
category:           Benchmarking
build-type:         Simple

extra-doc-files:    CHANGELOG.md
                    README.md

tested-with:          GHC == 9.4.7
                    , GHC == 9.6.2

common basic
    build-depends:    base >= 4.12 && < 5.0
    default-language: Haskell2010
    ghc-options:      -Wall

library
    import:           basic
    exposed-modules:  Miniterion
    build-depends:    deepseq >= 1.4 && < 1.5
    hs-source-dirs:   src

test-suite miniterion-test
    import:           basic
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:    miniterion
                    , directory >= 1.3 && < 1.4
                    , tasty >= 1.4 && < 1.6
                    , tasty-hunit >= 0.10 && < 0.11

benchmark fibo
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   bench
    main-is:          Main.hs
    build-depends:    base
                    , miniterion

source-repository head
  type:     git
  location: https://github.com/8c6794b6/miniterion.git