Skip to content

Commit

Permalink
Update more files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexirp committed Oct 27, 2024
1 parent 916834b commit 1b58429
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright Hexirp (c) 2017-2023
Copyright Hexirp (c) 2017-2024

All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

doctest-driver-gen is a doctest's driver file generator. It lets you automatically generate driver file for [doctest's cabal integration](https://github.com/sol/doctest/blob/f1f6c4149283036a55f9ce7f50439fabf0b9a0ab/README.md#cabal-integration).

Versions of doctest available in this library: `>= 0.7 && < 0.12 || >= 0.13 && < 0.23`
Versions of doctest available in this library: `>= 0.7 && < 0.12 || >= 0.13 && < 0.25`

## Usage

Expand Down
32 changes: 9 additions & 23 deletions doctest-driver-gen.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,42 @@ license: BSD3
license-file: LICENSE
author: Hexirp
maintainer: https://github.com/Hexirp/doctest-driver-gen/issues
copyright: (C) Hexirp 2017-2023
copyright: (C) Hexirp 2017-2024
category: Testing
build-type: Simple
extra-source-files: README.md, CHANGELOG.md
cabal-version: >=1.10
cabal-version: >= 2.0

tested-with:
GHC == 9.6.1
GHC == 9.4.4
GHC == 9.2.7
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
-- Andreas Abel, 2022-02-14, issue #16:
-- builds with GHC 7, but `cabal v2-test` does not find module ‘Test.DocTest’
GHC == 7.10.3
GHC == 7.8.4
GHC == 7.6.3
GHC == 7.4.2
GHC == 7.0.4

library
hs-source-dirs: src
exposed-modules: Test.DocTest.Gen
build-depends: base >= 4.0 && < 5
-- Versions of doctest available in this library
-- , doctest >= 0.7 && < 0.12 || >= 0.13 && < 0.23
-- , doctest >= 0.7 && < 0.12 || >= 0.13 && < 0.24
ghc-options: -Wall
default-language: Haskell2010

executable doctest-driver-gen
hs-source-dirs: app
main-is: Main.hs
ghc-options: -Wall
build-depends: base
, doctest-driver-gen
build-depends: base >= 4.0 && < 5
, doctest-driver-gen >= 0.1 && < 1
default-language: Haskell2010

test-suite doctest-driver-gen-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: doctest-driver.hs
build-depends: base
, doctest
-- If cabal version is less than 2.0, this line will be
-- warned.
build-depends: base >= 4.0 && < 5
, doctest >= 0.7 && 1
build-tool-depends: doctest-driver-gen:doctest-driver-gen
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
Expand Down

0 comments on commit 1b58429

Please sign in to comment.